<86>Apr 1 11:43:41 userdel[4054641]: delete user 'rooter' <86>Apr 1 11:43:41 userdel[4054641]: removed group 'rooter' owned by 'rooter' <86>Apr 1 11:43:41 userdel[4054641]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 1 11:43:41 groupadd[4054663]: group added to /etc/group: name=rooter, GID=537 <86>Apr 1 11:43:41 groupadd[4054663]: group added to /etc/gshadow: name=rooter <86>Apr 1 11:43:41 groupadd[4054663]: new group: name=rooter, GID=537 <86>Apr 1 11:43:41 useradd[4054682]: new user: name=rooter, UID=537, GID=537, home=/root, shell=/bin/bash <86>Apr 1 11:43:41 userdel[4054698]: delete user 'builder' <86>Apr 1 11:43:41 userdel[4054698]: removed group 'builder' owned by 'builder' <86>Apr 1 11:43:41 userdel[4054698]: removed shadow group 'builder' owned by 'builder' <86>Apr 1 11:43:41 groupadd[4054711]: group added to /etc/group: name=builder, GID=538 <86>Apr 1 11:43:41 groupadd[4054711]: group added to /etc/gshadow: name=builder <86>Apr 1 11:43:41 groupadd[4054711]: new group: name=builder, GID=538 <86>Apr 1 11:43:41 useradd[4054715]: new user: name=builder, UID=538, GID=538, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/poppler97-0.86.1-alt1.src.rpm: The use of such a license name is ambiguous: GPL <13>Apr 1 11:43:50 rpmi: strace-5.5-alt1 sisyphus+242630.100.1.1 1581006973 installed <13>Apr 1 11:43:50 rpmi: rpm-macros-ubt-0.3-alt1 sisyphus+231357.100.1.1 1559550805 installed <13>Apr 1 11:43:50 rpmi: ed-1:0.2-alt10 1449768440 installed <13>Apr 1 11:43:50 rpmi: rpm-utils-0.10.3-alt1 sisyphus+234377.400.6.1 1569421271 installed <13>Apr 1 11:43:50 rpmi: rpm-build-ubt-0.3.1-alt3 sisyphus+226718.100.2.1 1554584225 installed warning: Macro %_qt4dir not found warning: Macro %cmake not found warning: Macro %cmake_build not found warning: Macro %_typelibdir not found warning: Macro %_girdir not found <13>Apr 1 11:43:57 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Apr 1 11:43:57 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Apr 1 11:43:57 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Apr 1 11:43:57 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Apr 1 11:43:57 rpmi: libxkbcommon-0.10.0-alt1 sisyphus+244530.100.1.1 1579516274 installed <13>Apr 1 11:43:57 rpmi: libICE-1.0.10-alt1 sisyphus+247690.100.1.1 1584000387 installed <13>Apr 1 11:43:57 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Apr 1 11:43:57 rpmi: libglvnd-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Apr 1 11:43:57 rpmi: sgml-common-0.6.3-alt15 1423664786 installed <13>Apr 1 11:43:57 rpmi: libsqlite3-3.31.0-alt1 sisyphus+244880.100.1.1 1579796940 installed <13>Apr 1 11:43:57 rpmi: liblcms2-2.9-alt1 1516411892 installed <13>Apr 1 11:43:57 rpmi: libogg-1.3.4-alt1 sisyphus+247109.100.1.1 1582849994 installed <13>Apr 1 11:43:57 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Apr 1 11:43:57 rpmi: libnspr-1:4.25-alt1 sisyphus+247014.100.1.1 1582673206 installed <13>Apr 1 11:43:58 rpmi: libicu66-1:6.6.1-alt1 sisyphus+247988.100.1.1 1584454027 installed <13>Apr 1 11:43:58 rpmi: xml-utils-1:2.9.10-alt3 sisyphus+245000.16400.79.1 1583230501 installed <13>Apr 1 11:43:58 rpmi: docbook-dtds-4.5-alt1 1223476557 installed <13>Apr 1 11:43:58 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Apr 1 11:43:58 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>Apr 1 11:43:58 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Apr 1 11:43:58 rpmi: libICE-devel-1.0.10-alt1 sisyphus+247690.100.1.1 1584000387 installed <13>Apr 1 11:43:58 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Apr 1 11:43:58 rpmi: qt5-base-common-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:43:58 rpmi: qt4-common-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:43:59 rpmi: libqt4-core-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:43:59 rpmi: libqt4-sql-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:43:59 rpmi: libopenjpeg2.0-2.3.1-alt1 sisyphus+226454.100.1.1 1554284337 installed <13>Apr 1 11:43:59 rpmi: libmtdev-1.1.5-alt1 sisyphus+220715.100.1.1 1549364509 installed <13>Apr 1 11:43:59 rpmi: udev-rules-1:245.3-alt1 sisyphus+248929.100.1.1 1585589791 installed <13>Apr 1 11:43:59 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Apr 1 11:43:59 rpmi: libwayland-server-1.18.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Apr 1 11:43:59 rpmi: libwebp7-1.1.0-alt1 sisyphus+243895.100.1.1 1578410873 installed <13>Apr 1 11:43:59 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648241 installed <13>Apr 1 11:43:59 rpmi: libharfbuzz-2.6.4-alt2 sisyphus+247988.140.13.1 1584621552 installed <13>Apr 1 11:43:59 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276356 installed <13>Apr 1 11:43:59 rpmi: fontconfig-2.13.1-alt1 sisyphus+247349.100.1.2 1583841221 installed Updating fonts cache: <29>Apr 1 11:44:00 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Apr 1 11:44:00 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 1 11:44:00 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870475 installed <13>Apr 1 11:44:00 rpmi: libharfbuzz-icu-2.6.4-alt2 sisyphus+247988.140.13.1 1584621552 installed <13>Apr 1 11:44:00 rpmi: libgraphite2-devel-1.3.13-alt2 sisyphus+226799.100.1.1 1554648241 installed <13>Apr 1 11:44:00 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Apr 1 11:44:00 rpmi: libqt4-sql-sqlite-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:00 rpmi: libqt4-xml-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:00 rpmi: libqt4-clucene-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:01 rpmi: libqt4-test-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:01 rpmi: rpm-macros-qt4-4.8.7-alt21 sisyphus+245419.100.1.1 1580741617 installed <13>Apr 1 11:44:01 rpmi: rpm-macros-qt5-5.12.7-alt2 sisyphus+247988.400.13.1 1584623371 installed <13>Apr 1 11:44:01 rpmi: libe2fs-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Apr 1 11:44:01 rpmi: docbook-style-xsl-1.79.1-alt4 sisyphus+232871.100.1.1 1561238010 installed <13>Apr 1 11:44:01 rpmi: icu-utils-1:6.6.1-alt1 sisyphus+247988.100.1.1 1584454027 installed <13>Apr 1 11:44:01 rpmi: libicu-devel-1:6.6.1-alt1 sisyphus+247988.100.1.1 1584454027 installed <13>Apr 1 11:44:01 rpmi: libnspr-devel-1:4.25-alt1 sisyphus+247014.100.1.1 1582673206 installed <13>Apr 1 11:44:01 rpmi: libflac8-1.3.3-alt1 sisyphus+247112.100.1.1 1582855667 installed <13>Apr 1 11:44:01 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Apr 1 11:44:01 rpmi: libmng-2.0.3-alt2 sisyphus+222619.100.1.1 1550943853 installed <13>Apr 1 11:44:01 rpmi: libOpenGL-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Apr 1 11:44:01 rpmi: libGLES-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Apr 1 11:44:01 rpmi: libxkbcommon-devel-0.10.0-alt1 sisyphus+244530.100.1.1 1579516274 installed <13>Apr 1 11:44:01 rpmi: libjasper-2.0.16-alt1 sisyphus+231386.100.1.1 1559568070 installed <13>Apr 1 11:44:01 rpmi: xxd-4:8.2.0011-alt1 sisyphus+248587.100.2.1 1585313333 installed <13>Apr 1 11:44:01 rpmi: vulkan-filesystem-1.1.121-alt1.1 sisyphus+236811.500.2.1 1567091259 installed <13>Apr 1 11:44:01 rpmi: libvulkan1-1.1.121-alt1.1 sisyphus+236811.500.2.1 1567091322 installed <13>Apr 1 11:44:01 rpmi: libts-1.0-alt1.qa1 1366249315 installed <13>Apr 1 11:44:01 rpmi: libproxy-0.4.15-alt3 sisyphus+227885.100.1.2 1555818599 installed <13>Apr 1 11:44:01 rpmi: libpcre2-10.34-alt1 sisyphus+241619.100.1.1 1574686794 installed <13>Apr 1 11:44:01 rpmi: libqt5-core-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:01 rpmi: libqt5-concurrent-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:02 rpmi: libqt5-sql-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:02 rpmi: libqt5-test-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:02 rpmi: libqt5-xml-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:02 rpmi: libltdl7-2.4.6-alt1 sisyphus+226971.100.2.1 1554906368 installed <13>Apr 1 11:44:02 rpmi: libunixODBC2-2.3.7-alt1 sisyphus+228027.100.1.1 1556027338 installed <13>Apr 1 11:44:02 rpmi: libunixODBC-devel-compat-2.3.7-alt1 sisyphus+228027.100.1.1 1556027338 installed <13>Apr 1 11:44:02 rpmi: libunixODBC-devel-2.3.7-alt1 sisyphus+228027.100.1.1 1556027338 installed <13>Apr 1 11:44:02 rpmi: libwacom-data-1.3-alt1 sisyphus+248503.100.1.1 1585137698 installed <13>Apr 1 11:44:02 rpmi: libgudev-1:233-alt1 sisyphus+235422.100.1.1 1564855273 installed <13>Apr 1 11:44:02 rpmi: libwacom-1.3-alt1 sisyphus+248503.100.1.1 1585137704 installed <13>Apr 1 11:44:04 rpmi: libgtk+2-locales-2.24.32-alt4 sisyphus+248211.200.2.1 1584869557 installed <13>Apr 1 11:44:05 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Apr 1 11:44:05 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Apr 1 11:44:05 rpmi: libfribidi-1.0.9-alt1 sisyphus+247242.1500.7.1 1583840860 installed <13>Apr 1 11:44:05 rpmi: libevdev-1.9.0-alt1 sisyphus+247242.700.7.1 1583840472 installed <13>Apr 1 11:44:05 rpmi: libinput-1.15.4-alt1 sisyphus+248020.100.1.1 1584682241 installed <13>Apr 1 11:44:05 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Apr 1 11:44:05 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Apr 1 11:44:05 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013870 installed <13>Apr 1 11:44:05 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066927 installed <13>Apr 1 11:44:05 rpmi: libatk-locales-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Apr 1 11:44:05 rpmi: libatk-2.34.1-alt1 sisyphus+237956.700.4.2 1569332796 installed <13>Apr 1 11:44:05 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Apr 1 11:44:05 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Apr 1 11:44:05 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Apr 1 11:44:05 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Apr 1 11:44:05 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Apr 1 11:44:05 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Apr 1 11:44:05 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Apr 1 11:44:05 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Apr 1 11:44:05 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Apr 1 11:44:05 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>Apr 1 11:44:05 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Apr 1 11:44:05 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed <13>Apr 1 11:44:05 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Apr 1 11:44:07 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Apr 1 11:44:07 rpmi: libX11-devel-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Apr 1 11:44:07 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Apr 1 11:44:07 rpmi: libXrender-devel-0.9.8-alt1 1371312112 installed <13>Apr 1 11:44:07 rpmi: libXfixes-devel-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Apr 1 11:44:07 rpmi: libXi-devel-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed <13>Apr 1 11:44:07 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Apr 1 11:44:07 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Apr 1 11:44:07 rpmi: libXrandr-devel-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Apr 1 11:44:07 rpmi: libXcursor-devel-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>Apr 1 11:44:07 rpmi: libXinerama-devel-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Apr 1 11:44:07 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Apr 1 11:44:07 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Apr 1 11:44:07 rpmi: libXtst-devel-1.2.2-alt1 1369984893 installed <13>Apr 1 11:44:07 rpmi: libXv-1.0.11-alt1 1527685499 installed <13>Apr 1 11:44:07 rpmi: libXv-devel-1.0.11-alt1 1527685499 installed <13>Apr 1 11:44:07 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949137 installed <13>Apr 1 11:44:07 rpmi: libXt-1.2.0-alt1 sisyphus+247690.400.1.1 1584000596 installed <13>Apr 1 11:44:07 rpmi: libxcbutil-icccm-0.4.1-alt2 sisyphus+229000.100.1.1 1557152221 installed <13>Apr 1 11:44:07 rpmi: libxcbutil-1:0.4.0-alt1 1413392888 installed <13>Apr 1 11:44:07 rpmi: libxcbutil-image-0.4.0-alt1 1446204182 installed <13>Apr 1 11:44:07 rpmi: libxcbutil-keysyms-0.4.0-alt1 1446204124 installed <13>Apr 1 11:44:07 rpmi: libxcb-render-util-0.3.9-alt3 sisyphus+222674.100.1.1 1550989886 installed <13>Apr 1 11:44:07 rpmi: libxkbcommon-x11-0.10.0-alt1 sisyphus+244530.100.1.1 1579516274 installed <13>Apr 1 11:44:07 rpmi: libwayland-client-1.18.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Apr 1 11:44:07 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Apr 1 11:44:07 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599774 installed <13>Apr 1 11:44:07 rpmi: libGLX-mesa-4:20.0.2-alt2 sisyphus+248582.300.6.1 1585318728 installed <13>Apr 1 11:44:07 rpmi: libgbm-4:20.0.2-alt2 sisyphus+248582.300.6.1 1585318728 installed <13>Apr 1 11:44:07 rpmi: libEGL-mesa-4:20.0.2-alt2 sisyphus+248582.300.6.1 1585318728 installed <13>Apr 1 11:44:07 rpmi: libEGL-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Apr 1 11:44:07 rpmi: libGLX-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Apr 1 11:44:07 rpmi: libGL-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Apr 1 11:44:07 rpmi: libglvnd-devel-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Apr 1 11:44:07 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Apr 1 11:44:07 rpmi: libpango-1.44.7-alt1 sisyphus+239731.100.1.1 1571986949 installed <13>Apr 1 11:44:07 rpmi: libGL-devel-4:20.0.2-alt2 sisyphus+248582.300.6.1 1585318728 installed <13>Apr 1 11:44:07 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Apr 1 11:44:07 rpmi: libEGL-devel-4:20.0.2-alt2 sisyphus+248582.300.6.1 1585318728 installed <13>Apr 1 11:44:07 rpmi: libGLU-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556461 installed <13>Apr 1 11:44:07 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556461 installed <13>Apr 1 11:44:07 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>Apr 1 11:44:07 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Apr 1 11:44:07 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743635 installed <13>Apr 1 11:44:08 rpmi: libqt4-gui-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:08 rpmi: libqt4-opengl-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:08 rpmi: libqt4-uitools-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:08 rpmi: libqt4-svg-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:08 rpmi: libgdk-pixbuf-locales-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>Apr 1 11:44:08 rpmi: libOpenSP-1.5.2-alt3.qa1 1365943435 installed <13>Apr 1 11:44:08 rpmi: openjade-1.3.2-alt15 sisyphus+219815.100.1.1 1548167857 installed <13>Apr 1 11:44:09 rpmi: docbook-style-dsssl-1.79-alt3 1324062818 installed <13>Apr 1 11:44:09 rpmi: python-modules-curses-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:09 rpmi: python-sphinx-objects.inv-1:2.3.9.20200324-alt1 sisyphus+248564.100.1.1 1585184032 installed <13>Apr 1 11:44:09 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Apr 1 11:44:09 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Apr 1 11:44:09 rpmi: libxslt-1.1.34-alt2 sisyphus+248264.100.1.1 1584829770 installed <13>Apr 1 11:44:09 rpmi: libsystemd-1:245.3-alt1 sisyphus+248929.100.1.1 1585589833 installed <13>Apr 1 11:44:09 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Apr 1 11:44:09 rpmi: libqt4-dbus-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:09 rpmi: libqt4-script-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:10 rpmi: libqt4-designer-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:10 rpmi: libqt4-scripttools-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:10 rpmi: libavahi-0.7-alt2 sisyphus+247785.100.1.1 1584114591 installed <13>Apr 1 11:44:10 rpmi: libcups-2.3.1-alt1 sisyphus+247381.100.2.2 1583841455 installed <13>Apr 1 11:44:10 rpmi: libdbus-devel-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Apr 1 11:44:10 rpmi: libpulseaudio-13.0-alt3 sisyphus+242188.100.1.1 1575382773 installed <13>Apr 1 11:44:10 rpmi: libphonon-4.8.3-alt1 1418134069 installed <13>Apr 1 11:44:10 rpmi: libphononexperimental-4.8.3-alt1 1418134069 installed <13>Apr 1 11:44:10 rpmi: libqt5-dbus-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:10 rpmi: xsltproc-1.1.34-alt2 sisyphus+248264.100.1.1 1584829770 installed <13>Apr 1 11:44:10 rpmi: libffi-devel-1:3.2.1-alt2 1528881777 installed <13>Apr 1 11:44:11 rpmi: shared-mime-info-1.15-alt1 sisyphus+240378.100.1.1 1573073800 installed <13>Apr 1 11:44:11 rpmi: gsettings-desktop-schemas-data-3.36.0-alt1 sisyphus+247780.300.3.2 1584198326 installed <13>Apr 1 11:44:11 rpmi: libgio-2.64.1-alt1 sisyphus+247780.100.3.2 1584198161 installed <13>Apr 1 11:44:11 rpmi: gsettings-desktop-schemas-3.36.0-alt1 sisyphus+247780.300.3.2 1584198368 installed <13>Apr 1 11:44:11 rpmi: gobject-introspection-1.64.0-alt1 sisyphus+247780.200.3.2 1584198320 installed <13>Apr 1 11:44:11 rpmi: libgdk-pixbuf-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Apr 1 11:44:11 rpmi: gobject-introspection-x11-1.64.0-alt1 sisyphus+247780.200.3.2 1584198320 installed <13>Apr 1 11:44:11 rpmi: libpango-gir-1.44.7-alt1 sisyphus+239731.100.1.1 1571986949 installed <13>Apr 1 11:44:11 rpmi: libgdk-pixbuf-gir-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Apr 1 11:44:11 rpmi: libatk-gir-2.34.1-alt1 sisyphus+237956.700.4.2 1569332796 installed <13>Apr 1 11:44:11 rpmi: gtk-update-icon-cache-3.24.16-alt1 sisyphus+248832.100.1.1 1585465952 installed <13>Apr 1 11:44:11 rpmi: libgtk+2-2.24.32-alt4 sisyphus+248211.200.2.1 1584869549 installed <13>Apr 1 11:44:11 rpmi: libgtk+2-gir-2.24.32-alt4 sisyphus+248211.200.2.1 1584869549 installed <13>Apr 1 11:44:11 rpmi: libgdk-pixbuf-xlib-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Apr 1 11:44:11 rpmi: gcc-c++-common-1.4.24-alt3 sisyphus+243033.100.1.1 1576462403 installed <13>Apr 1 11:44:12 rpmi: libstdc++9-devel-9.2.1-alt3 sisyphus+245055.100.1.1 1580041617 installed <13>Apr 1 11:44:12 rpmi: gcc9-c++-9.2.1-alt3 sisyphus+245055.100.1.1 1580041617 installed <13>Apr 1 11:44:12 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571788297 installed <13>Apr 1 11:44:12 rpmi: rpm-macros-cmake-3.17.0-alt1 sisyphus+248174.100.1.1 1584748107 installed <13>Apr 1 11:44:12 rpmi: rmt-0.4b44-alt1.1 sisyphus+226687.100.1.1 1554516078 installed <13>Apr 1 11:44:12 rpmi: dump-0.4b44-alt1.1 sisyphus+226687.100.1.1 1554516078 installed <13>Apr 1 11:44:13 rpmi: cmake-modules-3.17.0-alt1 sisyphus+248174.100.1.1 1584748064 installed <13>Apr 1 11:44:13 rpmi: libuv-1.35.0-alt1 sisyphus+248846.100.1.1 1585502174 installed <13>Apr 1 11:44:13 rpmi: librhash-1.3.5-alt2 1505156279 installed <13>Apr 1 11:44:13 rpmi: libjsoncpp19-1.8.4-alt5 sisyphus+243670.100.1.1 1577521267 installed <13>Apr 1 11:44:13 rpmi: publicsuffix-list-dafsa-20200106-alt1 sisyphus+244007.100.1.1 1578588044 installed <13>Apr 1 11:44:13 rpmi: libpsl-0.21.0-alt2 sisyphus+237083.100.1.1 1567531657 installed <13>Apr 1 11:44:13 rpmi: libnghttp2-1.40.0-alt1 sisyphus+244416.100.1.1 1579241942 installed <13>Apr 1 11:44:13 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Apr 1 11:44:13 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Apr 1 11:44:13 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>Apr 1 11:44:13 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>Apr 1 11:44:13 rpmi: libnettle7-3.5.1-alt1 sisyphus+235265.40.6.1 1566223065 installed <13>Apr 1 11:44:13 rpmi: libarchive13-3.4.0-alt1 sisyphus+235265.640.9.1 1566482857 installed <13>Apr 1 11:44:13 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 1 11:44:13 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 1 11:44:13 rpmi: bc-1:1.07.1-alt1 sisyphus+221902.700.4.1 1550587857 installed <13>Apr 1 11:44:13 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 1 11:44:13 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 1 11:44:13 rpmi: libnss-3.51.0-alt1 sisyphus+247871.100.1.1 1584276116 installed <13>Apr 1 11:44:13 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Apr 1 11:44:13 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 1 11:44:13 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 1 11:44:13 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Apr 1 11:44:13 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Apr 1 11:44:13 rpmi: libpython3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 11:44:13 rpmi: python3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 11:44:14 rpmi: python3-base-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 11:44:14 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Apr 1 11:44:14 rpmi: glib2-devel-2.64.1-alt1 sisyphus+247780.100.3.2 1584198161 installed <13>Apr 1 11:44:14 rpmi: python3-module-six-1.13.0-alt1 sisyphus+240546.100.2.1 1573542703 installed <13>Apr 1 11:44:14 rpmi: libqt4-network-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:14 rpmi: libgio-devel-2.64.1-alt1 sisyphus+247780.100.3.2 1584198161 installed <86>Apr 1 11:44:14 groupadd[4091760]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 1 11:44:14 groupadd[4091760]: group added to /etc/gshadow: name=_keytab <86>Apr 1 11:44:14 groupadd[4091760]: new group: name=_keytab, GID=499 <13>Apr 1 11:44:14 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Apr 1 11:44:14 rpmi: libgdk-pixbuf-devel-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Apr 1 11:44:14 rpmi: libharfbuzz-devel-2.6.4-alt2 sisyphus+247988.140.13.1 1584621552 installed <13>Apr 1 11:44:15 rpmi: libfreetype-devel-2.10.1-alt1 sisyphus+237471.100.1.1 1568276356 installed <13>Apr 1 11:44:15 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus+247349.100.1.2 1583841221 installed <13>Apr 1 11:44:15 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Apr 1 11:44:15 rpmi: libatk-devel-2.34.1-alt1 sisyphus+237956.700.4.2 1569332796 installed <13>Apr 1 11:44:15 rpmi: libqt5-network-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:15 rpmi: libqt5-xcbqpa-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:15 rpmi: libqt5-eglfskmssupport-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:15 rpmi: libqt5-eglfsdeviceintegration-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:15 rpmi: libqt5-gui-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:15 rpmi: libqt5-widgets-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:15 rpmi: libqt5-opengl-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:16 rpmi: libqt5-printsupport-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:16 rpmi: libXft-devel-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Apr 1 11:44:16 rpmi: libpango-devel-1.44.7-alt1 sisyphus+239731.100.1.1 1571986949 installed <86>Apr 1 11:44:16 groupadd[4092916]: group added to /etc/group: name=sasl, GID=498 <86>Apr 1 11:44:16 groupadd[4092916]: group added to /etc/gshadow: name=sasl <86>Apr 1 11:44:16 groupadd[4092916]: new group: name=sasl, GID=498 <13>Apr 1 11:44:16 rpmi: libsasl2-3-2.1.27-alt2 sisyphus+228101.100.1.1 1556139863 installed <13>Apr 1 11:44:16 rpmi: libldap-2.4.48-alt3 sisyphus+238816.100.1.1 1570449022 installed <13>Apr 1 11:44:16 rpmi: libcurl-7.69.1-alt1 sisyphus+247613.100.1.1 1583913910 installed <13>Apr 1 11:44:16 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Apr 1 11:44:16 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Apr 1 11:44:16 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:16 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:16 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:16 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:16 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:16 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:16 rpmi: python-modules-xml-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:16 rpmi: python-modules-hotshot-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:16 rpmi: python-modules-bsddb-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:16 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:16 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:16 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:16 rpmi: python-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:44:16 rpmi: libqt4-xmlpatterns-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:16 rpmi: libqt4-declarative-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:17 rpmi: libqt4-webkit-1:2.3.4-alt8 sisyphus+243037.100.3.1 1576541718 installed <13>Apr 1 11:44:18 rpmi: libqt4-qt3support-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:18 rpmi: libqt4-help-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:18 rpmi: python3-module-anytree-2.8.0-alt1 sisyphus+244447.100.1.1 1579262422 installed <13>Apr 1 11:44:18 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Apr 1 11:44:18 rpmi: python3-module-pycparser-2.19-alt2 sisyphus+245734.100.1.1 1581192421 installed <13>Apr 1 11:44:18 rpmi: python3-module-cffi-1.14.0-alt1 sisyphus+244999.200.3.1 1585219427 installed <13>Apr 1 11:44:18 rpmi: python3-module-cryptography-2.8-alt2 sisyphus+245000.21750.79.1 1583234301 installed <13>Apr 1 11:44:18 rpmi: python3-module-OpenSSL-19.0.0-alt1 sisyphus+238757.100.1.1 1570339901 installed <13>Apr 1 11:44:18 rpmi: python3-module-nss-1.0.1-alt5 sisyphus+245000.5440.78.1 1583197855 installed <13>Apr 1 11:44:18 rpmi: python3-module-beaker-1.10.1-alt1 sisyphus+229409.100.1.1 1557918115 installed <13>Apr 1 11:44:18 rpmi: python3-module-pytz-1:2019.3-alt1 sisyphus+242012.100.2.1 1575623104 installed <13>Apr 1 11:44:19 rpmi: python3-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Apr 1 11:44:19 rpmi: python3-module-zope.interface-4.7.2-alt1 sisyphus+244999.500.3.1 1585220597 installed <13>Apr 1 11:44:19 rpmi: python3-module-chameleon.core-3.1-alt1.2 sisyphus+227476.1500.1.3 1555774056 installed <13>Apr 1 11:44:19 rpmi: python3-module-polib-1.0.5-alt1.1.2 sisyphus+227468.1200.2.2 1555756059 installed <13>Apr 1 11:44:19 rpmi: python3-module-lingua-4.13-alt2 sisyphus+231160.100.1.1 1559218715 installed <13>Apr 1 11:44:19 rpmi: python3-module-genshi-0.7-alt2 sisyphus+229363.100.1.1 1557847335 installed <13>Apr 1 11:44:19 rpmi: python3-module-webencodings-0.5.1-alt2 sisyphus+245915.200.1.1 1581496105 installed <13>Apr 1 11:44:19 rpmi: python3-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Apr 1 11:44:19 rpmi: python3-module-html5lib-1:1.0.1-alt1 sisyphus+238807.100.2.1 1570465973 installed <13>Apr 1 11:44:19 rpmi: python3-module-lxml-4.5.0-alt1 sisyphus+244999.400.3.1 1585220375 installed <13>Apr 1 11:44:19 rpmi: python3-module-docutils-0.15.2-alt1 sisyphus+239215.200.1.1 1576583082 installed <13>Apr 1 11:44:19 rpmi: python3-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Apr 1 11:44:19 rpmi: python3-module-idna-2.9-alt1 sisyphus+248055.100.1.1 1584555852 installed <13>Apr 1 11:44:19 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Apr 1 11:44:19 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Apr 1 11:44:19 rpmi: python3-module-urllib3-2:1.25.6-alt1 sisyphus+238720.100.2.1 1570349439 installed <13>Apr 1 11:44:19 rpmi: python3-module-requests-2.23.0-alt1 sisyphus+248062.500.2.1 1584568230 installed <13>Apr 1 11:44:19 rpmi: python3-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Apr 1 11:44:19 rpmi: python3-module-markupsafe-1.1.1-alt1 sisyphus+248369.100.1.1 1585046136 installed <13>Apr 1 11:44:19 rpmi: python3-module-jinja2-2.10.3-alt1 sisyphus+241982.100.1.1 1575023523 installed <13>Apr 1 11:44:19 rpmi: python3-module-pyparsing-2.4.2-alt1 sisyphus+236061.100.3.1 1565853577 installed <13>Apr 1 11:44:19 rpmi: python3-module-packaging-19.0-alt2 sisyphus+235493.3500.8.1 1565461874 installed <13>Apr 1 11:44:20 rpmi: python3-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Apr 1 11:44:20 rpmi: python3-module-sphinxcontrib-applehelp-1.0.1-alt1 sisyphus+228217.100.1.1 1556282506 installed <13>Apr 1 11:44:20 rpmi: python3-module-sphinxcontrib-devhelp-1.0.1-alt1 sisyphus+228218.100.1.1 1556283262 installed <13>Apr 1 11:44:20 rpmi: python3-module-sphinxcontrib-htmlhelp-1.0.2-alt1 sisyphus+228401.100.1.1 1556572721 installed <13>Apr 1 11:44:20 rpmi: python3-module-sphinxcontrib-jsmath-1.0.1-alt1 sisyphus+238085.500.1.1 1569313099 installed <13>Apr 1 11:44:20 rpmi: python3-module-sphinxcontrib-qthelp-1.0.2-alt1 sisyphus+228215.100.1.1 1556282300 installed <13>Apr 1 11:44:20 rpmi: python3-module-sphinxcontrib-serializinghtml-1.1.3-alt1 sisyphus+228216.100.1.1 1556282403 installed <13>Apr 1 11:44:20 rpmi: python3-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Apr 1 11:44:20 rpmi: python3-module-Pygments-2.4.2-alt2 sisyphus+245852.1100.2.1 1581424681 installed <13>Apr 1 11:44:20 rpmi: python3-module-sphinx-1:2.2.0-alt3 sisyphus+238476.100.2.1 1569998637 installed <13>Apr 1 11:44:20 rpmi: python3-module-mako-1.0.9-alt1 sisyphus+228198.40.2.1 1556265453 installed <13>Apr 1 11:44:20 rpmi: python3-module-markdown-3.2.1-alt1 sisyphus+246174.100.1.1 1581624151 installed <13>Apr 1 11:44:21 rpmi: gobject-introspection-devel-1.64.0-alt1 sisyphus+247780.200.3.2 1584198320 installed <13>Apr 1 11:44:21 rpmi: libatk-gir-devel-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Apr 1 11:44:21 rpmi: libgdk-pixbuf-gir-devel-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>Apr 1 11:44:21 rpmi: libpango-gir-devel-1.44.7-alt1 sisyphus+239731.100.1.1 1571986941 installed <13>Apr 1 11:44:21 rpmi: gtk-builder-convert-2.24.32-alt4 sisyphus+248211.200.2.1 1584869557 installed <13>Apr 1 11:44:21 rpmi: libgtk+2-devel-2.24.32-alt4 sisyphus+248211.200.2.1 1584869549 installed <13>Apr 1 11:44:21 rpmi: libvulkan-devel-1.1.121-alt1.1 sisyphus+236811.500.2.1 1567091322 installed <13>Apr 1 11:44:21 rpmi: libssl-devel-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Apr 1 11:44:21 rpmi: alsa-ucm-conf-1.2.2-alt1 sisyphus+246761.200.1.1 1582270179 installed <13>Apr 1 11:44:21 rpmi: alsa-topology-conf-1.2.2-alt1 sisyphus+246761.100.1.1 1582270157 installed <13>Apr 1 11:44:21 rpmi: libalsa-1:1.2.2-alt1 sisyphus+246761.300.1.1 1582270238 installed <13>Apr 1 11:44:21 rpmi: libqt4-multimedia-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:21 rpmi: phonon-devel-4.8.3-alt1 1418134069 installed <13>Apr 1 11:44:21 rpmi: libqt4-webkit-devel-1:2.3.4-alt8 sisyphus+243037.100.3.1 1576541718 installed <13>Apr 1 11:44:22 rpmi: libqt4-devel-4.8.7-alt21 sisyphus+245419.100.1.1 1580741842 installed <13>Apr 1 11:44:23 rpmi: qt5-base-devel-5.12.7-alt2 sisyphus+247988.400.13.1 1584623301 installed <13>Apr 1 11:44:23 rpmi: libgtk+2-gir-devel-2.24.32-alt4 sisyphus+248211.200.2.1 1584869557 installed <13>Apr 1 11:44:23 rpmi: gtk-doc-1.32-alt1 sisyphus+236022.20.6.1 1566123168 installed <13>Apr 1 11:44:23 rpmi: cmake-3.17.0-alt1 sisyphus+248174.100.1.1 1584748107 installed <13>Apr 1 11:44:24 rpmi: libcurl-devel-7.69.1-alt1 sisyphus+247613.100.1.1 1583913910 installed <13>Apr 1 11:44:24 rpmi: libcairo-gobject-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Apr 1 11:44:24 rpmi: libnss-devel-3.51.0-alt1 sisyphus+247871.100.1.1 1584276116 installed <13>Apr 1 11:44:24 rpmi: libtiff-devel-4.1.0-alt1 sisyphus+240802.100.1.1 1573743635 installed <13>Apr 1 11:44:24 rpmi: openjpeg-tools2.0-2.3.1-alt1 sisyphus+226454.100.1.1 1554284337 installed <13>Apr 1 11:44:24 rpmi: libXt-devel-1.2.0-alt1 sisyphus+247690.400.1.1 1584000596 installed <13>Apr 1 11:44:24 rpmi: libopenjpeg2.0-devel-2.3.1-alt1 sisyphus+226454.100.1.1 1554284337 installed <13>Apr 1 11:44:24 rpmi: liblcms2-devel-2.9-alt1 1516411892 installed <13>Apr 1 11:44:24 rpmi: libjpeg-devel-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Apr 1 11:44:24 rpmi: poppler-data-0.4.9-alt1 sisyphus.216033.100 1541141723 installed <13>Apr 1 11:44:24 rpmi: libxml2-devel-1:2.9.10-alt3 sisyphus+245000.16400.79.1 1583230501 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/poppler97-0.86.1-alt1.nosrc.rpm Installing poppler97-0.86.1-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.29622 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf poppler-0.86.1 + echo 'Source #0 (poppler-0.86.1.tar):' Source #0 (poppler-0.86.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/poppler-0.86.1.tar + cd poppler-0.86.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (0001-Revert-Remove-the-Qt4-frontend.patch):' Patch #1 (0001-Revert-Remove-the-Qt4-frontend.patch): + /usr/bin/patch -p1 patching file CMakeLists.txt Hunk #5 succeeded at 722 (offset 39 lines). Hunk #6 succeeded at 750 (offset 39 lines). Hunk #7 succeeded at 773 with fuzz 2 (offset 36 lines). patching file cmake/modules/FindQt4.cmake patching file poppler-qt4.pc.cmake patching file qt4/.gitignore patching file qt4/CMakeLists.txt patching file qt4/demos/.gitignore patching file qt4/demos/CMakeLists.txt patching file qt4/demos/abstractinfodock.cpp patching file qt4/demos/abstractinfodock.h patching file qt4/demos/documentobserver.cpp patching file qt4/demos/documentobserver.h patching file qt4/demos/embeddedfiles.cpp patching file qt4/demos/embeddedfiles.h patching file qt4/demos/fonts.cpp patching file qt4/demos/fonts.h patching file qt4/demos/info.cpp patching file qt4/demos/info.h patching file qt4/demos/main_viewer.cpp patching file qt4/demos/metadata.cpp patching file qt4/demos/metadata.h patching file qt4/demos/navigationtoolbar.cpp patching file qt4/demos/navigationtoolbar.h patching file qt4/demos/optcontent.cpp patching file qt4/demos/optcontent.h patching file qt4/demos/pageview.cpp patching file qt4/demos/pageview.h patching file qt4/demos/permissions.cpp patching file qt4/demos/permissions.h patching file qt4/demos/thumbnails.cpp patching file qt4/demos/thumbnails.h patching file qt4/demos/toc.cpp patching file qt4/demos/toc.h patching file qt4/demos/viewer.cpp patching file qt4/demos/viewer.h patching file qt4/src/.gitignore patching file qt4/src/ArthurOutputDev.cc patching file qt4/src/ArthurOutputDev.h patching file qt4/src/CMakeLists.txt patching file qt4/src/Doxyfile patching file qt4/src/Mainpage.dox patching file qt4/src/poppler-annotation-helper.h patching file qt4/src/poppler-annotation-private.h patching file qt4/src/poppler-annotation.cc patching file qt4/src/poppler-annotation.h patching file qt4/src/poppler-base-converter.cc patching file qt4/src/poppler-converter-private.h patching file qt4/src/poppler-document.cc patching file qt4/src/poppler-embeddedfile-private.h patching file qt4/src/poppler-embeddedfile.cc patching file qt4/src/poppler-export.h patching file qt4/src/poppler-fontinfo.cc patching file qt4/src/poppler-form.cc patching file qt4/src/poppler-form.h patching file qt4/src/poppler-link-extractor-private.h patching file qt4/src/poppler-link-extractor.cc patching file qt4/src/poppler-link-private.h patching file qt4/src/poppler-link.cc patching file qt4/src/poppler-link.h patching file qt4/src/poppler-media.cc patching file qt4/src/poppler-media.h patching file qt4/src/poppler-movie.cc patching file qt4/src/poppler-optcontent-private.h patching file qt4/src/poppler-optcontent.cc patching file qt4/src/poppler-optcontent.h patching file qt4/src/poppler-page-private.h patching file qt4/src/poppler-page-transition-private.h patching file qt4/src/poppler-page-transition.cc patching file qt4/src/poppler-page-transition.h patching file qt4/src/poppler-page.cc patching file qt4/src/poppler-pdf-converter.cc patching file qt4/src/poppler-private.cc patching file qt4/src/poppler-private.h patching file qt4/src/poppler-ps-converter.cc patching file qt4/src/poppler-qiodeviceoutstream-private.h patching file qt4/src/poppler-qiodeviceoutstream.cc patching file qt4/src/poppler-qt4.h patching file qt4/src/poppler-sound.cc patching file qt4/src/poppler-textbox.cc patching file qt4/tests/.gitignore patching file qt4/tests/CMakeLists.txt patching file qt4/tests/README.unittest patching file qt4/tests/check_actualtext.cpp patching file qt4/tests/check_attachments.cpp patching file qt4/tests/check_dateConversion.cpp patching file qt4/tests/check_fonts.cpp patching file qt4/tests/check_goostring.cpp patching file qt4/tests/check_lexer.cpp patching file qt4/tests/check_links.cpp patching file qt4/tests/check_metadata.cpp patching file qt4/tests/check_optcontent.cpp patching file qt4/tests/check_pagelabelinfo.cpp patching file qt4/tests/check_pagelayout.cpp patching file qt4/tests/check_pagemode.cpp patching file qt4/tests/check_password.cpp patching file qt4/tests/check_permissions.cpp patching file qt4/tests/check_search.cpp patching file qt4/tests/check_strings.cpp patching file qt4/tests/poppler-attachments.cpp patching file qt4/tests/poppler-fonts.cpp patching file qt4/tests/poppler-forms.cpp patching file qt4/tests/poppler-texts.cpp patching file qt4/tests/stress-poppler-dir.cpp patching file qt4/tests/stress-poppler-qt4.cpp patching file qt4/tests/stress-threads-qt4.cpp patching file qt4/tests/test-password-qt4.cpp patching file qt4/tests/test-poppler-qt4.cpp patching file qt4/tests/test-render-to-file.cpp + echo 'Patch #10 (alt-e2k.patch):' Patch #10 (alt-e2k.patch): + /usr/bin/patch -p2 patching file goo/GooCheckedOps.h Hunk #2 succeeded at 54 (offset 9 lines). + echo 'Patch #11 (alt-poppler-0.86-qt4.patch):' Patch #11 (alt-poppler-0.86-qt4.patch): + /usr/bin/patch -p1 patching file qt4/src/ArthurOutputDev.cc patching file qt4/src/CMakeLists.txt patching file qt4/src/poppler-annotation.cc patching file qt4/src/poppler-annotation-helper.h patching file qt4/src/poppler-document.cc patching file qt4/src/poppler-embeddedfile.cc patching file qt4/src/poppler-fontinfo.cc patching file qt4/src/poppler-link.cc patching file qt4/src/poppler-movie.cc patching file qt4/src/poppler-optcontent.cc patching file qt4/src/poppler-outline.cc patching file qt4/src/poppler-outline-private.h patching file qt4/src/poppler-page.cc patching file qt4/src/poppler-private.cc patching file qt4/src/poppler-private.h patching file qt4/src/poppler-qt4.h patching file qt4/src/poppler-sound.cc patching file qt4/tests/check_optcontent.cpp patching file qt4/tests/check_strings.cpp + install -m 0644 /usr/src/RPM/SOURCES/MacroPushRequiredVars.cmake cmake/modules/ + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.81421 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd poppler-0.86.1 + export QT4DIR=/usr/lib/qt4 + QT4DIR=/usr/lib/qt4 + mkdir -p BUILD + __cmake -DSHARE_INSTALL_DIR=/usr/share -DBUILD_SHARED_LIBS=ON -DENABLE_LIBCURL=ON -DENABLE_ZLIB=OFF -DENABLE_CMS=lcms2 -DENABLE_DCTDECODER=libjpeg -DENABLE_LIBOPENJPEG=openjpeg2 -DENABLE_XPDF_HEADERS=ON -DENABLE_UNSTABLE_API_ABI_HEADERS=ON -DENABLE_UTILS=ON -DENABLE_CPP=ON -DENABLE_GLIB=ON -DENABLE_QT4=ON -DENABLE_QT5=ON + pushd BUILD ~/RPM/BUILD/poppler-0.86.1/BUILD ~/RPM/BUILD/poppler-0.86.1 + cmake .. -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_DESTINATION=lib -DLIB_SUFFIX= -DSHARE_INSTALL_DIR=/usr/share -DBUILD_SHARED_LIBS=ON -DENABLE_LIBCURL=ON -DENABLE_ZLIB=OFF -DENABLE_CMS=lcms2 -DENABLE_DCTDECODER=libjpeg -DENABLE_LIBOPENJPEG=openjpeg2 -DENABLE_XPDF_HEADERS=ON -DENABLE_UNSTABLE_API_ABI_HEADERS=ON -DENABLE_UTILS=ON -DENABLE_CPP=ON -DENABLE_GLIB=ON -DENABLE_QT4=ON -DENABLE_QT5=ON -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test GCC_HAS_AS_NEEDED -- Performing Test GCC_HAS_AS_NEEDED - Success -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Checking _FILE_OFFSET_BITS for large files -- Checking _FILE_OFFSET_BITS for large files - needed CMake Warning at CMakeLists.txt:80 (message): No test data found in $testdatadir. You will not be able to run 'make test' successfully. The test data is not included in the source packages and is also not part of the main git repository. Instead, you can checkout the test data from its own git repository with: git clone git://git.freedesktop.org/git/poppler/test You should checkout the test data as a sibling of your poppler source folder or specify the location of your checkout with -DTESTDATADIR=/path/to/checkoutdir/test. -- Found Freetype: /usr/lib/libfreetype.so (found version "2.10.1") -- Checking for module 'fontconfig' -- Found fontconfig, version 2.13.1 Package bzip2 was not found in the pkg-config search path. Perhaps you should add the directory containing `bzip2.pc' to the PKG_CONFIG_PATH environment variable Package 'bzip2', required by 'freetype2', not found Package bzip2 was not found in the pkg-config search path. Perhaps you should add the directory containing `bzip2.pc' to the PKG_CONFIG_PATH environment variable Package 'bzip2', required by 'freetype2', not found Package bzip2 was not found in the pkg-config search path. Perhaps you should add the directory containing `bzip2.pc' to the PKG_CONFIG_PATH environment variable Package 'bzip2', required by 'freetype2', not found Package bzip2 was not found in the pkg-config search path. Perhaps you should add the directory containing `bzip2.pc' to the PKG_CONFIG_PATH environment variable Package 'bzip2', required by 'freetype2', not found -- Found Fontconfig: /usr/lib/libfontconfig.so -- Found JPEG: /usr/lib/libjpeg.so (found version "62") -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") -- Found PNG: /usr/lib/libpng.so (found version "1.6.37") -- Found TIFF: /usr/lib/libtiff.so (found version "4.1.0") -- Checking for module 'nss>=3.19' -- Found nss, version 3.51.0 -- Found NSS3: ssl3;smime3;nss3;nssutil3;plds4;plc4;nspr4;pthread;dl -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found -- Found Qt-Version 4.8.7 (using /usr/bin/qmake-qt4) Package bzip2 was not found in the pkg-config search path. Perhaps you should add the directory containing `bzip2.pc' to the PKG_CONFIG_PATH environment variable Package 'bzip2', required by 'freetype2', not found Package bzip2 was not found in the pkg-config search path. Perhaps you should add the directory containing `bzip2.pc' to the PKG_CONFIG_PATH environment variable Package 'bzip2', required by 'freetype2', not found Package bzip2 was not found in the pkg-config search path. Perhaps you should add the directory containing `bzip2.pc' to the PKG_CONFIG_PATH environment variable Package 'bzip2', required by 'freetype2', not found Package bzip2 was not found in the pkg-config search path. Perhaps you should add the directory containing `bzip2.pc' to the PKG_CONFIG_PATH environment variable Package 'bzip2', required by 'freetype2', not found -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Checking for module 'cairo>=1.10.0' -- Found cairo, version 1.16.0 Package libpcre was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcre.pc' to the PKG_CONFIG_PATH environment variable Package 'libpcre', required by 'glib-2.0', not found Package libpcre was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcre.pc' to the PKG_CONFIG_PATH environment variable Package 'libpcre', required by 'glib-2.0', not found Package libpcre was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcre.pc' to the PKG_CONFIG_PATH environment variable Package 'libpcre', required by 'glib-2.0', not found Package libpcre was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcre.pc' to the PKG_CONFIG_PATH environment variable Package 'libpcre', required by 'glib-2.0', not found -- Found Cairo: /usr/lib/libcairo.so (Required is at least version "1.10.0") -- Checking for modules 'glib-2.0>=2.41;gobject-2.0>=2.41;gio-2.0>=2.41' -- Found glib-2.0, version 2.64.1 -- Found gobject-2.0, version 2.64.1 -- Found gio-2.0, version 2.64.1 Package libpcre was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcre.pc' to the PKG_CONFIG_PATH environment variable Package 'libpcre', required by 'glib-2.0', not found Package libpcre was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcre.pc' to the PKG_CONFIG_PATH environment variable Package 'libpcre', required by 'glib-2.0', not found Package libpcre was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcre.pc' to the PKG_CONFIG_PATH environment variable Package 'libpcre', required by 'glib-2.0', not found Package libpcre was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcre.pc' to the PKG_CONFIG_PATH environment variable Package 'libpcre', required by 'glib-2.0', not found CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (GLib) does not match the name of the calling package (GLIB). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/modules/FindGLIB.cmake:24 (find_package_handle_standard_args) cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package) CMakeLists.txt:181 (macro_optional_find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found GLib: gio-2.0;gobject-2.0;glib-2.0 -- Checking for module 'gobject-introspection-1.0' -- Found gobject-introspection-1.0, version 1.64.0 Package libpcre was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcre.pc' to the PKG_CONFIG_PATH environment variable Package 'libpcre', required by 'glib-2.0', not found Package libpcre was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcre.pc' to the PKG_CONFIG_PATH environment variable Package 'libpcre', required by 'glib-2.0', not found Package libpcre was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcre.pc' to the PKG_CONFIG_PATH environment variable Package 'libpcre', required by 'glib-2.0', not found Package libpcre was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcre.pc' to the PKG_CONFIG_PATH environment variable Package 'libpcre', required by 'glib-2.0', not found -- Checking for modules 'gtk+-3.0>=3.8;gdk-pixbuf-2.0>=2.8' -- No package 'gtk+-3.0' found -- Could NOT find GTK (missing: GTK3_LIBRARIES GTK3_CFLAGS) -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed -- Found Iconv: /usr/lib/libc.so -- Checking for module 'lcms2' -- Found lcms2, version 2.9 -- Found lcms version 2.09, /usr/lib/liblcms2.so -- Found CURL: /usr/lib/libcurl.so (found version "7.69.1-DEV") -- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least version "1.58.0") -- Checking for module 'poppler-data' -- Found poppler-data, version 0.4.9 -- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file sys/mman.h -- Looking for include file sys/mman.h - found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for C++ include codecvt -- Looking for C++ include codecvt - found -- Looking for fseek64 -- Looking for fseek64 - not found -- Looking for fseeko -- Looking for fseeko - found -- Looking for ftell64 -- Looking for ftell64 - not found -- Looking for pread64 -- Looking for pread64 - found -- Looking for lseek64 -- Looking for lseek64 - found -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for timegm -- Looking for timegm - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for popen -- Looking for popen - found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for strcpy_s -- Looking for strcpy_s - not found -- Looking for strcat_s -- Looking for strcat_s - not found -- Looking for strtok_r -- Looking for strtok_r - found -- Performing Test HAVE_DIRENT_H -- Performing Test HAVE_DIRENT_H - Success -- Performing Test HAVE_NDIR_H -- Performing Test HAVE_NDIR_H - Failed -- Performing Test HAVE_SYS_DIR_H -- Performing Test HAVE_SYS_DIR_H - Success -- Performing Test HAVE_SYS_NDIR_H -- Performing Test HAVE_SYS_NDIR_H - Failed -- Looking for nanosleep -- Looking for nanosleep - found Building Poppler with support for: font configuration: fontconfig splash output: yes cairo output: yes qt4 wrapper: yes qt5 wrapper: yes glib wrapper: yes introspection: yes gtk-doc: no cpp wrapper: yes use libjpeg: yes use libpng: yes use libtiff: yes use zlib compress: no use zlib uncompress: no use nss3: yes use curl: yes use libopenjpeg2: yes use lcms2: yes use boost: no command line utils: yes fuzz target: no test data dir: /usr/src/RPM/BUILD/poppler-0.86.1/../test Warning: Use of boost is recommended for better performance. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS CMAKE_SKIP_INSTALL_RPATH ENABLE_XPDF_HEADERS INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD + popd ~/RPM/BUILD/poppler-0.86.1 + make -j8 -C BUILD make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 0%] Building CXX object CMakeFiles/poppler.dir/goo/GooTimer.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 0%] Building CXX object CMakeFiles/poppler.dir/goo/NetPBMWriter.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 2%] Building CXX object CMakeFiles/poppler.dir/goo/ImgWriter.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 2%] Building CXX object CMakeFiles/poppler.dir/goo/gstrtod.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 2%] Building CXX object CMakeFiles/poppler.dir/goo/PNGWriter.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 2%] Building CXX object CMakeFiles/poppler.dir/goo/JpegWriter.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 0%] Building CXX object CMakeFiles/poppler.dir/goo/gbasename.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 3%] Building CXX object CMakeFiles/poppler.dir/goo/glibc_strtok_r.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 3%] Building CXX object CMakeFiles/poppler.dir/fofi/FoFiEncodings.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 3%] Building CXX object CMakeFiles/poppler.dir/goo/glibc.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 3%] Building CXX object CMakeFiles/poppler.dir/fofi/FoFiBase.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 2%] Building CXX object CMakeFiles/poppler.dir/goo/grandom.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 1%] Building CXX object CMakeFiles/poppler.dir/goo/gfile.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 4%] Building CXX object CMakeFiles/poppler.dir/fofi/FoFiIdentifier.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 2%] Building CXX object CMakeFiles/poppler.dir/goo/TiffWriter.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 4%] Building CXX object CMakeFiles/poppler.dir/fofi/FoFiType1.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 2%] Building CXX object CMakeFiles/poppler.dir/goo/GooString.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 3%] Building CXX object CMakeFiles/poppler.dir/fofi/FoFiTrueType.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 4%] Building CXX object CMakeFiles/poppler.dir/poppler/Array.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 5%] Building CXX object CMakeFiles/poppler.dir/poppler/CharCodeToUnicode.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 4%] Building CXX object CMakeFiles/poppler.dir/poppler/CachedFile.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 0%] Building CXX object CMakeFiles/poppler.dir/goo/gbase64.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 4%] Building CXX object CMakeFiles/poppler.dir/fofi/FoFiType1C.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 5%] Building CXX object CMakeFiles/poppler.dir/poppler/DateInfo.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 6%] Building CXX object CMakeFiles/poppler.dir/poppler/FontEncodingTables.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 6%] Building CXX object CMakeFiles/poppler.dir/poppler/Error.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 5%] Building CXX object CMakeFiles/poppler.dir/poppler/CMap.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 6%] Building CXX object CMakeFiles/poppler.dir/poppler/FileSpec.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 6%] Building CXX object CMakeFiles/poppler.dir/poppler/Dict.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 5%] Building CXX object CMakeFiles/poppler.dir/poppler/Decrypt.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 7%] Building CXX object CMakeFiles/poppler.dir/poppler/Function.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 5%] Building CXX object CMakeFiles/poppler.dir/poppler/Catalog.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 7%] Building CXX object CMakeFiles/poppler.dir/poppler/FontInfo.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 8%] Building CXX object CMakeFiles/poppler.dir/poppler/JArithmeticDecoder.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 8%] Building CXX object CMakeFiles/poppler.dir/poppler/GlobalParams.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 6%] Building CXX object CMakeFiles/poppler.dir/poppler/Form.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 7%] Building CXX object CMakeFiles/poppler.dir/poppler/GfxFont.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 8%] Building CXX object CMakeFiles/poppler.dir/poppler/Hints.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 8%] Building CXX object CMakeFiles/poppler.dir/poppler/Link.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 7%] Building CXX object CMakeFiles/poppler.dir/poppler/GfxState.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 9%] Building CXX object CMakeFiles/poppler.dir/poppler/NameToCharCode.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 9%] Building CXX object CMakeFiles/poppler.dir/poppler/Linearization.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 9%] Building CXX object CMakeFiles/poppler.dir/poppler/Object.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 8%] Building CXX object CMakeFiles/poppler.dir/poppler/Lexer.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 4%] Building CXX object CMakeFiles/poppler.dir/poppler/Annot.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 10%] Building CXX object CMakeFiles/poppler.dir/poppler/OutputDev.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 10%] Building CXX object CMakeFiles/poppler.dir/poppler/Page.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 9%] Building CXX object CMakeFiles/poppler.dir/poppler/LocalPDFDocBuilder.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 8%] Building CXX object CMakeFiles/poppler.dir/poppler/JBIG2Stream.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 11%] Building CXX object CMakeFiles/poppler.dir/poppler/PDFDocEncoding.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 10%] Building CXX object CMakeFiles/poppler.dir/poppler/PageTransition.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 11%] Building CXX object CMakeFiles/poppler.dir/poppler/ProfileData.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 10%] Building CXX object CMakeFiles/poppler.dir/poppler/Outline.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 12%] Building CXX object CMakeFiles/poppler.dir/poppler/PSTokenizer.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 12%] Building CXX object CMakeFiles/poppler.dir/poppler/SignatureInfo.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 10%] Building CXX object CMakeFiles/poppler.dir/poppler/OptionalContent.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 9%] Building CXX object CMakeFiles/poppler.dir/poppler/MarkedContentOutputDev.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 11%] Building CXX object CMakeFiles/poppler.dir/poppler/Parser.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 11%] Building CXX object CMakeFiles/poppler.dir/poppler/PDFDocFactory.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 13%] Building CXX object CMakeFiles/poppler.dir/poppler/UnicodeMapFuncs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 13%] Building CXX object CMakeFiles/poppler.dir/poppler/UnicodeTypeTable.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 12%] Building CXX object CMakeFiles/poppler.dir/poppler/PreScanOutputDev.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 13%] Building CXX object CMakeFiles/poppler.dir/poppler/UnicodeMap.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 13%] Building CXX object CMakeFiles/poppler.dir/poppler/UTF.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 7%] Building CXX object CMakeFiles/poppler.dir/poppler/Gfx.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 12%] Building CXX object CMakeFiles/poppler.dir/poppler/StructTreeRoot.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 13%] Building CXX object CMakeFiles/poppler.dir/poppler/XRef.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 12%] Building CXX object CMakeFiles/poppler.dir/poppler/Stream.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 13%] Building CXX object CMakeFiles/poppler.dir/poppler/StructElement.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 14%] Building CXX object CMakeFiles/poppler.dir/poppler/StdinCachedFile.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 15%] Building CXX object CMakeFiles/poppler.dir/poppler/ViewerPreferences.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 14%] Building CXX object CMakeFiles/poppler.dir/poppler/PageLabelInfo.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 14%] Building CXX object CMakeFiles/poppler.dir/poppler/TextOutputDev.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 15%] Building CXX object CMakeFiles/poppler.dir/poppler/Sound.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 15%] Building CXX object CMakeFiles/poppler.dir/poppler/Rendition.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 15%] Building CXX object CMakeFiles/poppler.dir/poppler/StdinPDFDocBuilder.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 16%] Building CXX object CMakeFiles/poppler.dir/poppler/CertificateInfo.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 14%] Building CXX object CMakeFiles/poppler.dir/poppler/SecurityHandler.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 17%] Building CXX object CMakeFiles/poppler.dir/splash/SplashFTFont.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 15%] Building CXX object CMakeFiles/poppler.dir/poppler/Movie.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 17%] Building CXX object CMakeFiles/poppler.dir/splash/SplashFTFontEngine.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 17%] Building CXX object CMakeFiles/poppler.dir/splash/SplashFTFontFile.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 17%] Building CXX object CMakeFiles/poppler.dir/splash/SplashFont.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 14%] Building CXX object CMakeFiles/poppler.dir/poppler/PSOutputDev.cc.o /usr/src/RPM/BUILD/poppler-0.86.1/poppler/PSOutputDev.cc: In member function 'void PSOutputDev::setupImage(Ref, Stream*, bool)': /usr/src/RPM/BUILD/poppler-0.86.1/poppler/PSOutputDev.cc:2933:8: warning: variable 'useFlate' set but not used [-Wunused-but-set-variable] 2933 | bool useFlate, useLZW, useRLE, useCompressed, doUseASCIIHex; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 18%] Building CXX object CMakeFiles/poppler.dir/splash/SplashFontFileID.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 18%] Building CXX object CMakeFiles/poppler.dir/splash/SplashPath.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 17%] Building CXX object CMakeFiles/poppler.dir/splash/SplashFontEngine.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 16%] Building CXX object CMakeFiles/poppler.dir/splash/SplashClip.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 18%] Building CXX object CMakeFiles/poppler.dir/splash/SplashPattern.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 16%] Building CXX object CMakeFiles/poppler.dir/splash/SplashBitmap.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 17%] Building CXX object CMakeFiles/poppler.dir/splash/SplashFontFile.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 18%] Building CXX object CMakeFiles/poppler.dir/splash/SplashScreen.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 18%] Building CXX object CMakeFiles/poppler.dir/splash/SplashState.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 19%] Building CXX object CMakeFiles/poppler.dir/splash/SplashXPath.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 19%] Building CXX object CMakeFiles/poppler.dir/splash/SplashXPathScanner.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 20%] Building CXX object CMakeFiles/poppler.dir/poppler/SignatureHandler.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 16%] Building CXX object CMakeFiles/poppler.dir/splash/Splash.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 20%] Building C object CMakeFiles/poppler.dir/poppler/CourierWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 20%] Building C object CMakeFiles/poppler.dir/poppler/CourierBoldObliqueWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 20%] Building C object CMakeFiles/poppler.dir/poppler/CourierBoldWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 20%] Building CXX object CMakeFiles/poppler.dir/poppler/JPEG2000Stream.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 21%] Building C object CMakeFiles/poppler.dir/poppler/CourierObliqueWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 21%] Building C object CMakeFiles/poppler.dir/poppler/HelveticaWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 21%] Building C object CMakeFiles/poppler.dir/poppler/HelveticaBoldWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 21%] Building C object CMakeFiles/poppler.dir/poppler/SymbolWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 21%] Building C object CMakeFiles/poppler.dir/poppler/HelveticaBoldObliqueWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 22%] Building C object CMakeFiles/poppler.dir/poppler/HelveticaObliqueWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 22%] Building C object CMakeFiles/poppler.dir/poppler/TimesBoldWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 22%] Building C object CMakeFiles/poppler.dir/poppler/TimesRomanWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 22%] Building C object CMakeFiles/poppler.dir/poppler/TimesBoldItalicWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 22%] Building C object CMakeFiles/poppler.dir/poppler/ZapfDingbatsWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 19%] Building CXX object CMakeFiles/poppler.dir/poppler/DCTStream.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 22%] Building C object CMakeFiles/poppler.dir/poppler/TimesItalicWidths.pregenerated.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 19%] Building CXX object CMakeFiles/poppler.dir/poppler/CurlCachedFile.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 19%] Building CXX object CMakeFiles/poppler.dir/poppler/CurlPDFDocBuilder.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 11%] Building CXX object CMakeFiles/poppler.dir/poppler/PDFDoc.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 16%] Building CXX object CMakeFiles/poppler.dir/poppler/SplashOutputDev.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 23%] Linking CXX shared library libpoppler.so make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 23%] Built target poppler make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdfunite make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdftotext make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdfsig make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdfattach make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdfdetach make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdftoppm make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 23%] Building CXX object utils/CMakeFiles/pdftotext.dir/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Building CXX object utils/CMakeFiles/pdftotext.dir/Win32Console.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 23%] Building CXX object utils/CMakeFiles/pdfunite.dir/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Building CXX object utils/CMakeFiles/pdfunite.dir/Win32Console.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Building CXX object utils/CMakeFiles/pdfsig.dir/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Building CXX object utils/CMakeFiles/pdfsig.dir/Win32Console.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Building CXX object utils/CMakeFiles/pdfdetach.dir/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Building CXX object utils/CMakeFiles/pdfattach.dir/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Building CXX object utils/CMakeFiles/pdfdetach.dir/Win32Console.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Building CXX object utils/CMakeFiles/pdfattach.dir/Win32Console.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdfseparate make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdffonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 25%] Building CXX object utils/CMakeFiles/pdfattach.dir/pdfattach.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Building CXX object utils/CMakeFiles/pdfsig.dir/pdfsig.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 25%] Linking CXX executable pdfattach make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 25%] Built target pdfattach make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 25%] Linking CXX executable pdfsig make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 25%] Building CXX object utils/CMakeFiles/pdfseparate.dir/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 25%] Building CXX object utils/CMakeFiles/pdffonts.dir/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdfimages make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 25%] Built target pdfsig make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdfinfo make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 25%] Building CXX object utils/CMakeFiles/pdfseparate.dir/Win32Console.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 25%] Building CXX object utils/CMakeFiles/pdffonts.dir/Win32Console.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 26%] Building CXX object utils/CMakeFiles/pdfimages.dir/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 26%] Building CXX object utils/CMakeFiles/pdfinfo.dir/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 26%] Building CXX object utils/CMakeFiles/pdfimages.dir/Win32Console.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 26%] Building CXX object utils/CMakeFiles/pdfinfo.dir/Win32Console.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 25%] Building CXX object utils/CMakeFiles/pdfdetach.dir/pdfdetach.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Building CXX object utils/CMakeFiles/pdftotext.dir/pdftotext.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Building CXX object utils/CMakeFiles/pdfunite.dir/pdfunite.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 26%] Building CXX object utils/CMakeFiles/pdffonts.dir/pdffonts.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 26%] Building CXX object utils/CMakeFiles/pdfseparate.dir/pdfseparate.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 29%] Linking CXX executable pdfunite make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 29%] Built target pdfunite make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdftocairo make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 27%] Linking CXX executable pdfdetach make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 29%] Built target pdfdetach make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdftops make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 29%] Linking CXX executable pdffonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 29%] Built target pdffonts make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdftohtml make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 29%] Building CXX object utils/CMakeFiles/pdftocairo.dir/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 29%] Linking CXX executable pdfseparate make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 30%] Building CXX object utils/CMakeFiles/pdftocairo.dir/Win32Console.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 30%] Built target pdfseparate make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 29%] Building CXX object utils/CMakeFiles/pdftops.dir/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 30%] Building CXX object utils/CMakeFiles/pdftops.dir/Win32Console.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Building CXX object utils/CMakeFiles/pdftoppm.dir/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Building CXX object utils/CMakeFiles/pdftoppm.dir/Win32Console.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 28%] Building CXX object utils/CMakeFiles/pdftotext.dir/printencodings.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 26%] Building CXX object utils/CMakeFiles/pdfimages.dir/pdfimages.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 30%] Generating poppler-enums.h make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 29%] Building CXX object utils/CMakeFiles/pdftohtml.dir/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Building CXX object utils/CMakeFiles/pdftohtml.dir/Win32Console.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Linking CXX executable pdftotext make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Built target pdftotext make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Generating poppler-enums.c make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target pdf-fullrewrite make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Building CXX object utils/CMakeFiles/pdftohtml.dir/InMemoryFile.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-glib make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Building CXX object test/CMakeFiles/pdf-fullrewrite.dir/pdf-fullrewrite.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Building CXX object utils/CMakeFiles/pdfimages.dir/ImageOutputDev.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-action.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Building CXX object utils/CMakeFiles/pdfimages.dir/JSInfo.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 33%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-date.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Linking CXX executable pdfimages make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Built target pdfimages make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target perf-test make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Building CXX object test/CMakeFiles/pdf-fullrewrite.dir/__/utils/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Linking CXX executable pdf-fullrewrite make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Built target pdf-fullrewrite make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Building CXX object test/CMakeFiles/perf-test.dir/perf-test.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 26%] Building CXX object utils/CMakeFiles/pdfinfo.dir/pdfinfo.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Building CXX object utils/CMakeFiles/pdfinfo.dir/printencodings.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 31%] Building CXX object utils/CMakeFiles/pdftops.dir/pdftops.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Building CXX object utils/CMakeFiles/pdftoppm.dir/pdftoppm.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Building CXX object test/CMakeFiles/perf-test.dir/perf-test-preview-dummy.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Linking CXX executable pdftops make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 30%] Building CXX object utils/CMakeFiles/pdftocairo.dir/pdftocairo.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Building CXX object utils/CMakeFiles/pdftocairo.dir/pdftocairo-win32.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Linking CXX executable pdftoppm make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Linking CXX executable perf-test make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Building CXX object utils/CMakeFiles/pdftohtml.dir/pdftohtml.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-document.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-page.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Building CXX object utils/CMakeFiles/pdfinfo.dir/JSInfo.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 36%] Linking CXX executable pdfinfo make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Building CXX object utils/CMakeFiles/pdftocairo.dir/__/poppler/CairoFontEngine.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 35%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-attachment.cc.o /usr/src/RPM/BUILD/poppler-0.86.1/glib/poppler-attachment.cc: In function 'PopplerAttachment* _poppler_attachment_new(FileSpec*)': /usr/src/RPM/BUILD/poppler-0.86.1/glib/poppler-attachment.cc:118:32: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 118 | attachment->ctime = (GTime)aux; // FIXME This will overflow on dates from after 2038 | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/glib/poppler.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/glib/poppler-attachment.cc:24: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/glib/poppler-attachment.cc:124:32: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 124 | attachment->mtime = (GTime)aux; // FIXME This will overflow on dates from after 2038 | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/glib/poppler.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/glib/poppler-attachment.cc:24: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 35%] Building CXX object utils/CMakeFiles/pdftohtml.dir/HtmlFonts.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 37%] Building CXX object utils/CMakeFiles/pdftohtml.dir/HtmlLinks.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 37%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-annot.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 35%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-form-field.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 37%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-layer.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 37%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-movie.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 36%] Building CXX object utils/CMakeFiles/pdftocairo.dir/__/poppler/CairoOutputDev.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 38%] Building CXX object utils/CMakeFiles/pdftocairo.dir/__/poppler/CairoRescaleBox.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 38%] Linking CXX executable pdftocairo make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 37%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-media.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 37%] Building CXX object utils/CMakeFiles/pdftohtml.dir/HtmlOutputDev.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 37%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 39%] Linking CXX executable pdftohtml make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 39%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-cached-file-loader.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 39%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-input-stream.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 39%] Building C object glib/CMakeFiles/poppler-glib.dir/poppler-enums.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 39%] Building CXX object glib/CMakeFiles/poppler-glib.dir/__/poppler/CairoFontEngine.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 39%] Building CXX object glib/CMakeFiles/poppler-glib.dir/poppler-structure-element.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 40%] Building CXX object glib/CMakeFiles/poppler-glib.dir/__/poppler/CairoOutputDev.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 40%] Built target pdftocairo make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 40%] Built target pdftohtml make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 40%] Built target perf-test make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 40%] Built target pdfinfo make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 40%] Built target pdftoppm make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt5_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 40%] Generating poppler-optcontent.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt4 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 40%] Building CXX object glib/CMakeFiles/poppler-glib.dir/__/poppler/CairoRescaleBox.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 41%] Automatic MOC for target poppler-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 42%] Built target poppler-qt5_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 42%] Linking CXX shared library libpoppler-glib.so make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 42%] Built target poppler-glib make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target gir-typelibs make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 42%] Built target pdftops make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 42%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-qt5_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 41%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-fontinfo.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:24: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:24: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:24: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc: In member function 'Poppler::FontInfo& Poppler::FontInfo::operator=(const Poppler::FontInfo&)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:109:16: warning: implicitly-declared 'Poppler::FontInfoData& Poppler::FontInfoData::operator=(const Poppler::FontInfoData&)' is deprecated [-Wdeprecated-copy] 109 | *m_data = *fi.m_data; | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:24: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:167:3: note: because 'Poppler::FontInfoData' has user-provided 'Poppler::FontInfoData::FontInfoData(const Poppler::FontInfoData&)' 167 | FontInfoData( const FontInfoData &fid ) | ^~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:24: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-fontinfo.cc:23: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 42%] Generating Poppler-0.18.gir g-ir-scanner: link: i586-alt-linux-gcc -pthread -o /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/glib/tmp-introspectnc1nav2i/Poppler-0.18 /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/glib/tmp-introspectnc1nav2i/Poppler-0.18.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/usr/src/RPM/BUILD/poppler-0.86.1/BUILD -Wl,-rpath,/usr/src/RPM/BUILD/poppler-0.86.1/BUILD -L/usr/src/RPM/BUILD/poppler-0.86.1/BUILD/glib -Wl,-rpath,/usr/src/RPM/BUILD/poppler-0.86.1/BUILD/glib -lpoppler-glib -lpoppler -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 /usr/lib/gcc/i586-alt-linux/9/include/stddef.h:424: syntax error, unexpected identifier in ' __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));' at '__float128' g-ir-scanner: Poppler: warning: 3 warnings suppressed (use --warn-all to see them) make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 42%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-form.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:32: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:32: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:32: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation-helper.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:33: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation-helper.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:33: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc: In destructor 'virtual Poppler::FormField::~FormField()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:91:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 91 | m_formData = 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc: In member function 'Poppler::Link* Poppler::FormField::activationAction() const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:146:18: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 146 | Link* action = 0; | ^ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:32: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-form.cc:22: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 42%] Generating Poppler-0.18.typelib make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 43%] Built target gir-typelibs make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 41%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-document.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:43: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:43: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qfile.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:44: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:47: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:47: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc: In member function 'QDateTime Poppler::Document::date(const QString&) const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:464:51: warning: 'QDateTime Poppler::convertDate(char*)' is deprecated [-Wdeprecated-declarations] 464 | return Poppler::convertDate(str.toLatin1().data()); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:1898:52: note: declared here 1898 | POPPLER_QT4_EXPORT Q_DECL_DEPRECATED QDateTime convertDate( char *dateString ); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:464:51: warning: 'QDateTime Poppler::convertDate(char*)' is deprecated [-Wdeprecated-declarations] 464 | return Poppler::convertDate(str.toLatin1().data()); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:1898:52: note: declared here 1898 | POPPLER_QT4_EXPORT Q_DECL_DEPRECATED QDateTime convertDate( char *dateString ); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc: In member function 'QDateTime Poppler::Document::creationDate() const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:485:51: warning: 'QDateTime Poppler::convertDate(char*)' is deprecated [-Wdeprecated-declarations] 485 | return Poppler::convertDate(str.toLatin1().data()); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:1898:52: note: declared here 1898 | POPPLER_QT4_EXPORT Q_DECL_DEPRECATED QDateTime convertDate( char *dateString ); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:485:51: warning: 'QDateTime Poppler::convertDate(char*)' is deprecated [-Wdeprecated-declarations] 485 | return Poppler::convertDate(str.toLatin1().data()); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:1898:52: note: declared here 1898 | POPPLER_QT4_EXPORT Q_DECL_DEPRECATED QDateTime convertDate( char *dateString ); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc: In member function 'QDateTime Poppler::Document::modificationDate() const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:506:51: warning: 'QDateTime Poppler::convertDate(char*)' is deprecated [-Wdeprecated-declarations] 506 | return Poppler::convertDate(str.toLatin1().data()); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:1898:52: note: declared here 1898 | POPPLER_QT4_EXPORT Q_DECL_DEPRECATED QDateTime convertDate( char *dateString ); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:506:51: warning: 'QDateTime Poppler::convertDate(char*)' is deprecated [-Wdeprecated-declarations] 506 | return Poppler::convertDate(str.toLatin1().data()); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:1898:52: note: declared here 1898 | POPPLER_QT4_EXPORT Q_DECL_DEPRECATED QDateTime convertDate( char *dateString ); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc: In member function 'Poppler::OptContentModel* Poppler::Document::optionalContentModel()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:752:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 752 | m_doc->m_optContentModel = new OptContentModel(m_doc->doc->getOptContentConfig(), 0); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc: In member function 'bool Poppler::Document::getPdfId(QByteArray*, QByteArray*) const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:777:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 777 | if (!m_doc->doc->getID(permanentId ? &gooPermanentId : 0, updateId ? &gooUpdateId : 0)) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:777:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 777 | if (!m_doc->doc->getID(permanentId ? &gooPermanentId : 0, updateId ? &gooUpdateId : 0)) | ^ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:47: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = GooString; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:287:94: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | this->d = 0; | ^ /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = XRef; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:439:57: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-document.cc:30: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 42%] Building CXX object cpp/CMakeFiles/poppler-cpp.dir/poppler-destination.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 42%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-embeddedfile.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:31: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:31: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:31: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc: In constructor 'Poppler::EmbeddedFile::EmbeddedFile(EmbFile*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:54:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 54 | : m_embeddedFile(0) | ^ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:31: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-embeddedfile.cc:21: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 42%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-document.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 44%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-movie.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:28: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:28: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:28: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:28: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc: In constructor 'Poppler::MovieData::MovieData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:37:18: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 37 | : m_movieObj( 0 ) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-movie.cc:22: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 42%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-link.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:27: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:27: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:27: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc: In constructor 'Poppler::LinkSoundPrivate::LinkSoundPrivate(const QRectF&)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:137:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | : LinkPrivate( area ), sound( 0 ) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc: In constructor 'Poppler::LinkRenditionPrivate::LinkRenditionPrivate(const QRectF&, MediaRendition*, LinkRendition::RenditionOperation, const QString&, const Ref&)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:160:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 160 | , rendition( r ? new MediaRendition( r ) : 0 ) | ^ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:27: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link.cc:25: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 43%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-link-extractor.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-link-extractor.cc:28: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 42%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-annotation.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 45%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-page.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:41: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:41: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:41: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:41: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:42: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpainter.h:52, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:42: /usr/include/qt4/QtGui/qdrawutil.h:80:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:85:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 85 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:89:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:93:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 93 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:97:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:101:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:105:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:109:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:112:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 112 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:115:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:181:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 181 | ); | ^ /usr/include/qt4/QtGui/qdrawutil.h: In function 'void qDrawBorderPixmap(QPainter*, const QRect&, const QMargins&, const QPixmap&)': /usr/include/qt4/QtGui/qdrawutil.h:188:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 188 | qDrawBorderPixmap(painter, target, margins, pixmap, pixmap.rect(), margins); | ^ In file included from /usr/include/qt4/QtGui/qpen.h:46, from /usr/include/qt4/QtGui/qpainter.h:56, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:42: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:41: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qpainter.h:61, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:42: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ In file included from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:42: /usr/include/qt4/QtGui/qpainter.h:382:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | const QPixmap &pixmap, PixmapFragmentHints hints = 0); | ^ /usr/include/qt4/QtGui/qpainter.h:384:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 384 | const QPixmap &pixmap, PixmapFragmentHints hints = 0); | ^ /usr/include/qt4/QtGui/qpainter.h:418:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 418 | void drawText(const QRectF &r, int flags, const QString &text, QRectF *br=0); | ^ /usr/include/qt4/QtGui/qpainter.h:419:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 419 | void drawText(const QRect &r, int flags, const QString &text, QRect *br=0); | ^ /usr/include/qt4/QtGui/qpainter.h:420:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 420 | inline void drawText(int x, int y, int w, int h, int flags, const QString &text, QRect *br=0); | ^ /usr/include/qt4/QtGui/qpainter.h:463:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 463 | static QPaintDevice *redirected(const QPaintDevice *device, QPoint *offset = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/poppler/TextOutputDev.h:42, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:49: /usr/src/RPM/BUILD/poppler-0.86.1/poppler/OutputDev.h:276:16: warning: 'virtual bool OutputDev::beginType3Char(GfxState*, double, double, double, double, CharCode, const Unicode*, int)' was hidden [-Woverloaded-virtual] 276 | virtual bool beginType3Char(GfxState * /*state*/, double /*x*/, double /*y*/, | ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:52: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:131:16: warning: by 'virtual bool ArthurOutputDev::beginType3Char(GfxState*, double, double, double, double, CharCode, Unicode*, int)' [-Woverloaded-virtual] 131 | virtual bool beginType3Char(GfxState *state, double x, double y, | ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/poppler/TextOutputDev.h:42, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:49: /usr/src/RPM/BUILD/poppler-0.86.1/poppler/OutputDev.h:271:16: warning: 'virtual void OutputDev::drawChar(GfxState*, double, double, double, double, double, double, CharCode, int, const Unicode*, int)' was hidden [-Woverloaded-virtual] 271 | virtual void drawChar(GfxState * /*state*/, double /*x*/, double /*y*/, | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:52: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:127:16: warning: by 'virtual void ArthurOutputDev::drawChar(GfxState*, double, double, double, double, double, double, CharCode, int, Unicode*, int)' [-Woverloaded-virtual] 127 | virtual void drawChar(GfxState *state, double x, double y, | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/poppler/TextOutputDev.h:42, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:49: /usr/src/RPM/BUILD/poppler-0.86.1/poppler/OutputDev.h:300:16: warning: 'virtual void OutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, const int*, bool)' was hidden [-Woverloaded-virtual] 300 | virtual void drawImage(GfxState *state, Object *ref, Stream *str, | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:52: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:141:16: warning: by 'virtual void ArthurOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool)' [-Woverloaded-virtual] 141 | virtual void drawImage(GfxState *state, Object *ref, Stream *str, | ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:59: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:59: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:59: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc: In static member function 'static Poppler::Link* Poppler::PageData::convertLinkActionToLink(LinkAction*, Poppler::DocumentData*, const QRectF&)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:107:92: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | popplerLink = new LinkExecute( linkArea, e->getFileName()->c_str(), p ? p->c_str() : 0 ); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:81:10: warning: enumeration value 'actionHide' not handled in switch [-Wswitch] 81 | switch ( a->getKind() ) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc: In constructor 'Poppler::Page::Page(Poppler::DocumentData*, int)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:289:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 289 | m_page->transition = 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc: In member function 'QImage Poppler::Page::thumbnail() const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:467:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 467 | unsigned char* data = 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc: In member function 'QString Poppler::Page::text(const QRectF&, Poppler::Page::TextLayout) const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:491:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 491 | output_dev = new TextOutputDev(0, false, 0, rawOrder, false); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc: In member function 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:554:91: warning: 'bool Poppler::Page::search(const QString&, double&, double&, double&, double&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 554 | bool found = search(text, sLeft, sTop, sRight, sBottom, direction, caseSensitive, rotate); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:517:6: note: declared here 517 | bool Page::search(const QString &text, double &sLeft, double &sTop, double &sRight, double &sBottom, SearchDirection direction, SearchMode caseSensitive, Rotation rotate) const | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc: In member function 'QList Poppler::Page::textList(Poppler::Page::Rotation) const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:599:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 599 | output_dev = new TextOutputDev(0, false, 0, false, false); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc: In member function 'Poppler::Link* Poppler::Page::action(Poppler::Page::PageAction) const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:669:14: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 669 | return 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:682:10: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 682 | return 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:59: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:50, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qhash.h: In instantiation of 'const T QHash::value(const Key&) const [with Key = const TextWord*; T = Poppler::TextBox*]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:641:46: required from here /usr/include/qt4/QtCore/qhash.h:499:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 499 | Node **findNode(const Key &key, uint *hp = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-page.cc:36: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 45%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-base-converter.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:24: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc: In constructor 'Poppler::BaseConverterPrivate::BaseConverterPrivate()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:29:13: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 29 | : document(0), iodev(0), ownIodev(true) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:29:23: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 29 | : document(0), iodev(0), ownIodev(true) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc: In member function 'QIODevice* Poppler::BaseConverterPrivate::openDevice()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:54:13: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 54 | iodev = 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:58:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | return 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc: In member function 'void Poppler::BaseConverterPrivate::closeDevice()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-base-converter.cc:71:11: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | iodev = 0; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 45%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-pdf-converter.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:22: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc: In constructor 'Poppler::PDFConverterPrivate::PDFConverterPrivate()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:41:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 41 | : BaseConverterPrivate(), opts(0) | ^ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:22: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-pdf-converter.cc:20: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 46%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-qiodeviceoutstream.cc.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/QIODevice:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qiodeviceoutstream.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/QIODevice:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qiodeviceoutstream.cc:22: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/QIODevice:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qiodeviceoutstream.cc:22: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/QIODevice:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qiodeviceoutstream.cc:22: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/QIODevice:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qiodeviceoutstream.cc:22: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/QIODevice:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qiodeviceoutstream.cc:22: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/QIODevice:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qiodeviceoutstream.cc:22: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QIODevice:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qiodeviceoutstream.cc:22: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 46%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-ps-converter.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:27: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:27: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:27: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc: In constructor 'Poppler::PSConverterPrivate::PSConverterPrivate()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:64:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | opts(PSConverter::Printing), pageConvertedCallback(0), | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:65:23: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | pageConvertedPayload(0) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc: In member function 'virtual bool Poppler::PSConverter::convert()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:217:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 217 | else pstitlechar = 0; | ^ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:27: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-ps-converter.cc:25: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 44%] Building CXX object cpp/CMakeFiles/poppler-cpp.dir/poppler-document.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 46%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-textbox.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:22: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:22: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-textbox.cc:21: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 47%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-page-transition.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 46%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-private.cc.o In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qfile.h:45, from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qfile.h:45, from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qfile.h:45, from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfile.h:45, from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:30: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:30: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:52:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 52 | static UnicodeMap *utf8Map = 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc: In function 'QString Poppler::unicodeToQString(const Unicode*, int)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:77:27: warning: declaration of 'utf8Map' shadows a global declaration [-Wshadow] 77 | const UnicodeMap *utf8Map = globalParams->getUtf8Map(); | ^~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:52:24: note: shadowed declaration is here 52 | static UnicodeMap *utf8Map = 0; | ^~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc: In function 'void Poppler::linkActionToTocItem(const LinkAction*, Poppler::DocumentData*, QDomElement*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:201:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | LinkDestinationData ldd(destination, NULL, doc, g->getFileName() != 0); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc: In destructor 'Poppler::DocumentData::~DocumentData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:226:23: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 226 | utf8Map = 0; | ^ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:27: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.cc:60:17: warning: 'void Poppler::qt4ErrorFunction(void*, ErrorCategory, Goffset, const char*)' defined but not used [-Wunused-function] 60 | static void qt4ErrorFunction(void * /*data*/, ErrorCategory /*category*/, Goffset pos, const char *msg) | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 45%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-embeddedfile.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 47%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-media.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/QString:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.h:26, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:20: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QString:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.h:26, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:20: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qfile.h:45, from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfile.h:45, from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qbuffer.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QBuffer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:26: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc: In constructor 'Poppler::MediaRenditionPrivate::MediaRenditionPrivate(MediaRendition*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:38:3: warning: declaration of 'rendition' shadows a member of 'Poppler::MediaRenditionPrivate' [-Wshadow] 38 | : rendition(rendition) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:47:21: note: shadowed declaration is here 47 | ::MediaRendition *rendition; | ^~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc: In constructor 'Poppler::MediaRenditionPrivate::MediaRenditionPrivate(MediaRendition*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:40:3: warning: declaration of 'rendition' shadows a member of 'Poppler::MediaRenditionPrivate' [-Wshadow] 40 | } | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:47:21: note: shadowed declaration is here 47 | ::MediaRendition *rendition; | ^~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc: In constructor 'Poppler::MediaRenditionPrivate::MediaRenditionPrivate(MediaRendition*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:40:3: warning: declaration of 'rendition' shadows a member of 'Poppler::MediaRenditionPrivate' [-Wshadow] 40 | } | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:47:21: note: shadowed declaration is here 47 | ::MediaRendition *rendition; | ^~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc: In member function 'QSize Poppler::MediaRendition::size() const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:154:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | const MediaParameters *mp = 0; | ^ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-media.cc:24: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 46%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-sound.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc: In constructor 'Poppler::SoundData::SoundData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-sound.cc:33:18: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 33 | : m_soundObj( 0 ) | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 47%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-outline.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:23: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:23: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:23: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:23: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'void QtSharedPointer::ExternalRefCount::internalConstruct(T*) [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:391:11: required from 'QtSharedPointer::ExternalRefCount::ExternalRefCount(T*) [with T = const Poppler::LinkDestination]' /usr/include/qt4/QtCore/qsharedpointer_impl.h:473:59: required from 'QSharedPointer::QSharedPointer(T*) [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:103:172: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:356:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 356 | d = 0; | ^ In file included from /usr/include/qt4/QtCore/QVector:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:36, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = Poppler::OutlineItem]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = Poppler::OutlineItem]' /usr/include/qt4/QtCore/qvector.h:281:41: required from 'void QVector::push_back(const T&) [with T = Poppler::OutlineItem]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:172:108: 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] 503 | ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:36, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline.cc:20: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here 94 | struct QVectorTypedData : private QVectorData | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 46%] Building CXX object cpp/CMakeFiles/poppler-cpp.dir/poppler-embedded-file.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 44%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-optcontent.cc.o In file included from /usr/include/qt4/QtCore/qvariant.h:46, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ 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/qmetatype.h:49, from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:28: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:28: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:28: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:28: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:28: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:28: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:28: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:28: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:31: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:31: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc: In constructor 'Poppler::OptContentItem::OptContentItem(OptionalContentGroup*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:80:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | m_parent = 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc: In constructor 'Poppler::OptContentItem::OptContentItem(const QString&)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:93:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 93 | m_parent = 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:95:15: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 95 | m_group = 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc: In constructor 'Poppler::OptContentItem::OptContentItem()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:102:15: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | m_parent( 0 ), m_enabled(true) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc: In constructor 'Poppler::OptContentModelPrivate::OptContentModelPrivate(Poppler::OptContentModel*, OCGs*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:174:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 174 | if ( optContent->getOrderArray() == 0 ) { | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc: In member function 'void Poppler::OptContentModelPrivate::parseOrderArray(Poppler::OptContentItem*, Array*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:204:95: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 204 | OptContentItem *ocItem = m_optContentItems.value(QString::number(item.getRefNum()), 0); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc: In member function 'Poppler::OptContentItem* Poppler::OptContentModelPrivate::itemFromRef(const QString&) const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:439:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 439 | return m_optContentItems.value(ref, 0); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc: In member function 'Poppler::OptContentItem* Poppler::OptContentModelPrivate::nodeFromIndex(const QModelIndex&, bool) const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:447:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 447 | return canBeNull ? 0 : m_rootNode; | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:452: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/src/poppler-optcontent.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/src/poppler-optcontent.moc:48:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 48 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/src/poppler-optcontent.moc: In member function 'virtual void* Poppler::OptContentModel::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/src/poppler-optcontent.moc:67:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:28: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:49, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:28: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ In file included from /usr/include/qt4/QtCore/qlist.h:47, from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qalgorithms.h: In instantiation of 'void QAlgorithmsPrivate::qMerge(RandomAccessIterator, RandomAccessIterator, RandomAccessIterator, T&, LessThan) [with RandomAccessIterator = QList::iterator; T = const QModelIndex; LessThan = qLess]': /usr/include/qt4/QtCore/qalgorithms.h:459:11: required from 'void QAlgorithmsPrivate::qStableSortHelper(RandomAccessIterator, RandomAccessIterator, const T&, LessThan) [with RandomAccessIterator = QList::iterator; T = QModelIndex; LessThan = qLess]' /usr/include/qt4/QtCore/qalgorithms.h:465:22: required from 'void QAlgorithmsPrivate::qStableSortHelper(RandomAccessIterator, RandomAccessIterator, const T&) [with RandomAccessIterator = QList::iterator; T = QModelIndex]' /usr/include/qt4/QtCore/qalgorithms.h:223:46: required from 'void qStableSort(Container&) [with Container = QList]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:364:30: required from here /usr/include/qt4/QtCore/qalgorithms.h:434:18: warning: implicitly-declared 'constexpr QList::iterator& QList::iterator::operator=(const QList::iterator&)' is deprecated [-Wdeprecated-copy] 434 | firstCut = begin + len1Half; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qlist.h:192:16: note: because 'QList::iterator' has user-provided 'QList::iterator::iterator(const QList::iterator&) [with T = QModelIndex]' 192 | inline iterator(const iterator &o): i(o.i){} | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qlist.h:47, from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qalgorithms.h:435:19: warning: implicitly-declared 'constexpr QList::iterator& QList::iterator::operator=(const QList::iterator&)' is deprecated [-Wdeprecated-copy] 435 | secondCut = qLowerBound(pivot, end, *firstCut, lessThan); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qlist.h:192:16: note: because 'QList::iterator' has user-provided 'QList::iterator::iterator(const QList::iterator&) [with T = QModelIndex]' 192 | inline iterator(const iterator &o): i(o.i){} | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qlist.h:47, from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qalgorithms.h:439:19: warning: implicitly-declared 'constexpr QList::iterator& QList::iterator::operator=(const QList::iterator&)' is deprecated [-Wdeprecated-copy] 439 | secondCut = pivot + len2Half; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qlist.h:192:16: note: because 'QList::iterator' has user-provided 'QList::iterator::iterator(const QList::iterator&) [with T = QModelIndex]' 192 | inline iterator(const iterator &o): i(o.i){} | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qlist.h:47, from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qalgorithms.h:440:18: warning: implicitly-declared 'constexpr QList::iterator& QList::iterator::operator=(const QList::iterator&)' is deprecated [-Wdeprecated-copy] 440 | firstCut = qUpperBound(begin, pivot, *secondCut, lessThan); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qlist.h:192:16: note: because 'QList::iterator' has user-provided 'QList::iterator::iterator(const QList::iterator&) [with T = QModelIndex]' 192 | inline iterator(const iterator &o): i(o.i){} | ^~~~~~~~ /usr/include/qt4/QtCore/qlist.h: In instantiation of 'QList::iterator::iterator() [with T = QModelIndex]': /usr/include/qt4/QtCore/qalgorithms.h:429:26: required from 'void QAlgorithmsPrivate::qMerge(RandomAccessIterator, RandomAccessIterator, RandomAccessIterator, T&, LessThan) [with RandomAccessIterator = QList::iterator; T = const QModelIndex; LessThan = qLess]' /usr/include/qt4/QtCore/qalgorithms.h:459:11: required from 'void QAlgorithmsPrivate::qStableSortHelper(RandomAccessIterator, RandomAccessIterator, const T&, LessThan) [with RandomAccessIterator = QList::iterator; T = QModelIndex; LessThan = qLess]' /usr/include/qt4/QtCore/qalgorithms.h:465:22: required from 'void QAlgorithmsPrivate::qStableSortHelper(RandomAccessIterator, RandomAccessIterator, const T&) [with RandomAccessIterator = QList::iterator; T = QModelIndex]' /usr/include/qt4/QtCore/qalgorithms.h:223:46: required from 'void qStableSort(Container&) [with Container = QList]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:364:30: required from here /usr/include/qt4/QtCore/qlist.h:190:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | inline iterator() : i(0) {} | ^ In file included from /usr/include/qt4/QtCore/qlist.h:47, from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qalgorithms.h: In instantiation of 'RandomAccessIterator QAlgorithmsPrivate::qLowerBoundHelper(RandomAccessIterator, RandomAccessIterator, const T&, LessThan) [with RandomAccessIterator = QList::iterator; T = QModelIndex; LessThan = qLess]': /usr/include/qt4/QtCore/qalgorithms.h:252:49: required from 'RandomAccessIterator qLowerBound(RandomAccessIterator, RandomAccessIterator, const T&, LessThan) [with RandomAccessIterator = QList::iterator; T = QModelIndex; LessThan = qLess]' /usr/include/qt4/QtCore/qalgorithms.h:435:32: required from 'void QAlgorithmsPrivate::qMerge(RandomAccessIterator, RandomAccessIterator, RandomAccessIterator, T&, LessThan) [with RandomAccessIterator = QList::iterator; T = const QModelIndex; LessThan = qLess]' /usr/include/qt4/QtCore/qalgorithms.h:459:11: required from 'void QAlgorithmsPrivate::qStableSortHelper(RandomAccessIterator, RandomAccessIterator, const T&, LessThan) [with RandomAccessIterator = QList::iterator; T = QModelIndex; LessThan = qLess]' /usr/include/qt4/QtCore/qalgorithms.h:465:22: required from 'void QAlgorithmsPrivate::qStableSortHelper(RandomAccessIterator, RandomAccessIterator, const T&) [with RandomAccessIterator = QList::iterator; T = QModelIndex]' /usr/include/qt4/QtCore/qalgorithms.h:223:46: required from 'void qStableSort(Container&) [with Container = QList]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:364:30: required from here /usr/include/qt4/QtCore/qalgorithms.h:477:16: warning: implicitly-declared 'constexpr QList::iterator& QList::iterator::operator=(const QList::iterator&)' is deprecated [-Wdeprecated-copy] 477 | middle = begin + half; | ~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qlist.h:192:16: note: because 'QList::iterator' has user-provided 'QList::iterator::iterator(const QList::iterator&) [with T = QModelIndex]' 192 | inline iterator(const iterator &o): i(o.i){} | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qlist.h:47, from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qalgorithms.h:479:19: warning: implicitly-declared 'constexpr QList::iterator& QList::iterator::operator=(const QList::iterator&)' is deprecated [-Wdeprecated-copy] 479 | begin = middle + 1; | ~~~~~~^~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qlist.h:192:16: note: because 'QList::iterator' has user-provided 'QList::iterator::iterator(const QList::iterator&) [with T = QModelIndex]' 192 | inline iterator(const iterator &o): i(o.i){} | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qlist.h:47, from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qalgorithms.h: In instantiation of 'RandomAccessIterator QAlgorithmsPrivate::qUpperBoundHelper(RandomAccessIterator, RandomAccessIterator, const T&, LessThan) [with RandomAccessIterator = QList::iterator; T = QModelIndex; LessThan = qLess]': /usr/include/qt4/QtCore/qalgorithms.h:285:49: required from 'RandomAccessIterator qUpperBound(RandomAccessIterator, RandomAccessIterator, const T&, LessThan) [with RandomAccessIterator = QList::iterator; T = QModelIndex; LessThan = qLess]' /usr/include/qt4/QtCore/qalgorithms.h:440:31: required from 'void QAlgorithmsPrivate::qMerge(RandomAccessIterator, RandomAccessIterator, RandomAccessIterator, T&, LessThan) [with RandomAccessIterator = QList::iterator; T = const QModelIndex; LessThan = qLess]' /usr/include/qt4/QtCore/qalgorithms.h:459:11: required from 'void QAlgorithmsPrivate::qStableSortHelper(RandomAccessIterator, RandomAccessIterator, const T&, LessThan) [with RandomAccessIterator = QList::iterator; T = QModelIndex; LessThan = qLess]' /usr/include/qt4/QtCore/qalgorithms.h:465:22: required from 'void QAlgorithmsPrivate::qStableSortHelper(RandomAccessIterator, RandomAccessIterator, const T&) [with RandomAccessIterator = QList::iterator; T = QModelIndex]' /usr/include/qt4/QtCore/qalgorithms.h:223:46: required from 'void qStableSort(Container&) [with Container = QList]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:364:30: required from here /usr/include/qt4/QtCore/qalgorithms.h:498:16: warning: implicitly-declared 'constexpr QList::iterator& QList::iterator::operator=(const QList::iterator&)' is deprecated [-Wdeprecated-copy] 498 | middle = begin + half; | ~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qlist.h:192:16: note: because 'QList::iterator' has user-provided 'QList::iterator::iterator(const QList::iterator&) [with T = QModelIndex]' 192 | inline iterator(const iterator &o): i(o.i){} | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qlist.h:47, from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qalgorithms.h:502:19: warning: implicitly-declared 'constexpr QList::iterator& QList::iterator::operator=(const QList::iterator&)' is deprecated [-Wdeprecated-copy] 502 | begin = middle + 1; | ~~~~~~^~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qvariant.h:47, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.cc:24: /usr/include/qt4/QtCore/qlist.h:192:16: note: because 'QList::iterator' has user-provided 'QList::iterator::iterator(const QList::iterator&) [with T = QModelIndex]' 192 | inline iterator(const iterator &o): i(o.i){} | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 45%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-fontinfo.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 47%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/ArthurOutputDev.cc.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qpaintdevice.h:45, from /usr/include/qt4/QtGui/qpixmap.h:45, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qpaintdevice.h:45, from /usr/include/qt4/QtGui/qpixmap.h:45, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, 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/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpixmap.h:46, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ 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/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpixmap.h:46, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qpaintdevice.h:45, from /usr/include/qt4/QtGui/qpixmap.h:45, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included 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/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpixmap.h:46, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qpaintdevice.h:45, from /usr/include/qt4/QtGui/qpixmap.h:45, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpixmap.h:46, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpixmap.h:46, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included 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/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qpixmap.h:50, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qpixmap.h:50, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qpixmap.h:50, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qtextoption.h:47, from /usr/include/qt4/QtGui/qpainter.h:51, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtGui/qpainter.h:52, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtGui/qdrawutil.h:80:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:85:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 85 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:89:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:93:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 93 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:97:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:101:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:105:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:109:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:112:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 112 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:115:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:181:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 181 | ); | ^ /usr/include/qt4/QtGui/qdrawutil.h: In function 'void qDrawBorderPixmap(QPainter*, const QRect&, const QMargins&, const QPixmap&)': /usr/include/qt4/QtGui/qdrawutil.h:188:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 188 | qDrawBorderPixmap(painter, target, margins, pixmap, pixmap.rect(), margins); | ^ In file included from /usr/include/qt4/QtGui/qpen.h:46, from /usr/include/qt4/QtGui/qpainter.h:56, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qpixmap.h:50, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qpainter.h:61, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ In file included from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtGui/qpainter.h:382:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | const QPixmap &pixmap, PixmapFragmentHints hints = 0); | ^ /usr/include/qt4/QtGui/qpainter.h:384:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 384 | const QPixmap &pixmap, PixmapFragmentHints hints = 0); | ^ /usr/include/qt4/QtGui/qpainter.h:418:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 418 | void drawText(const QRectF &r, int flags, const QString &text, QRectF *br=0); | ^ /usr/include/qt4/QtGui/qpainter.h:419:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 419 | void drawText(const QRect &r, int flags, const QString &text, QRect *br=0); | ^ /usr/include/qt4/QtGui/qpainter.h:420:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 420 | inline void drawText(int x, int y, int w, int h, int flags, const QString &text, QRect *br=0); | ^ /usr/include/qt4/QtGui/qpainter.h:463:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 463 | static QPaintDevice *redirected(const QPaintDevice *device, QPoint *offset = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:35, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/src/RPM/BUILD/poppler-0.86.1/poppler/OutputDev.h:300:16: warning: 'virtual void OutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, const int*, bool)' was hidden [-Woverloaded-virtual] 300 | virtual void drawImage(GfxState *state, Object *ref, Stream *str, | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:141:16: warning: by 'virtual void ArthurOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool)' [-Woverloaded-virtual] 141 | virtual void drawImage(GfxState *state, Object *ref, Stream *str, | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:35, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/src/RPM/BUILD/poppler-0.86.1/poppler/OutputDev.h:276:16: warning: 'virtual bool OutputDev::beginType3Char(GfxState*, double, double, double, double, CharCode, const Unicode*, int)' was hidden [-Woverloaded-virtual] 276 | virtual bool beginType3Char(GfxState * /*state*/, double /*x*/, double /*y*/, | ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:131:16: warning: by 'virtual bool ArthurOutputDev::beginType3Char(GfxState*, double, double, double, double, CharCode, Unicode*, int)' [-Woverloaded-virtual] 131 | virtual bool beginType3Char(GfxState *state, double x, double y, | ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:35, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/src/RPM/BUILD/poppler-0.86.1/poppler/OutputDev.h:271:16: warning: 'virtual void OutputDev::drawChar(GfxState*, double, double, double, double, double, double, CharCode, int, const Unicode*, int)' was hidden [-Woverloaded-virtual] 271 | virtual void drawChar(GfxState * /*state*/, double /*x*/, double /*y*/, | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:127:16: warning: by 'virtual void ArthurOutputDev::drawChar(GfxState*, double, double, double, double, double, double, CharCode, int, Unicode*, int)' [-Woverloaded-virtual] 127 | virtual void drawChar(GfxState *state, double x, double y, | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:52: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:52: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:52: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc: In constructor 'ArthurOutputDev::ArthurOutputDev(QPainter*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:100:18: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 100 | m_fontEngine = 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:101:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | m_font = 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc: In member function 'virtual void ArthurOutputDev::startPage(int, GfxState*, XRef*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:127:73: warning: declaration of 'xref' shadows a member of 'ArthurOutputDev' [-Wshadow] 127 | void ArthurOutputDev::startPage(int pageNum, GfxState *state, XRef *xref) | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:166:9: note: shadowed declaration is here 166 | XRef *xref; // xref table for current document | ^~~~ In file included from /usr/include/qt4/QtGui/qpainter.h:48, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.h:38, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/ArthurOutputDev.cc:50: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 47%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-link-extractor.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 49%] Building CXX object cpp/CMakeFiles/poppler-cpp.dir/poppler-image.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 48%] Building CXX object cpp/CMakeFiles/poppler-cpp.dir/poppler-global.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 47%] Building CXX object cpp/CMakeFiles/poppler-cpp.dir/poppler-font.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 49%] Building CXX object cpp/CMakeFiles/poppler-cpp.dir/poppler-page-transition.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 49%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-movie.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 50%] Building CXX object cpp/CMakeFiles/poppler-cpp.dir/poppler-private.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 50%] Building CXX object cpp/CMakeFiles/poppler-cpp.dir/poppler-rectangle.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 49%] Building CXX object cpp/CMakeFiles/poppler-cpp.dir/poppler-page.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 50%] Building CXX object cpp/CMakeFiles/poppler-cpp.dir/poppler-toc.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 49%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-optcontent.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 50%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-pdf-converter.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 50%] Building CXX object cpp/CMakeFiles/poppler-cpp.dir/poppler-version.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 47%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-form.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 49%] Building CXX object cpp/CMakeFiles/poppler-cpp.dir/poppler-page-renderer.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 51%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-qiodeviceinstream.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 51%] Linking CXX shared library libpoppler-cpp.so make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 51%] Built target poppler-cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-dump make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 52%] Building CXX object cpp/tests/CMakeFiles/poppler-dump.dir/poppler-dump.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 47%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-link.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 52%] Building CXX object cpp/tests/CMakeFiles/poppler-dump.dir/__/__/utils/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 52%] Linking CXX executable poppler-dump make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 52%] Built target poppler-dump make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-render make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 52%] Building CXX object cpp/tests/CMakeFiles/poppler-render.dir/poppler-render.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 50%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-base-converter.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 52%] Building CXX object cpp/tests/CMakeFiles/poppler-render.dir/__/__/utils/parseargs.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 51%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-qiodeviceoutstream.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 52%] Linking CXX executable poppler-render make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 53%] Built target poppler-render make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 52%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-textbox.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 53%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-media.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 53%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-page-transition.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 52%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-sound.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 50%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-page.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 51%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-ps-converter.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 53%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-version.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 51%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-private.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 53%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/poppler-outline.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 53%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/ArthurOutputDev.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 54%] Linking CXX shared library libpoppler-qt5.so make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 54%] Built target poppler-qt5 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_strings_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_pagelabelinfo_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt5-page-labels_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_outline_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target check_qt5_outline make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target check_qt5_outline_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_actualtext_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 55%] Automatic MOC for target poppler-qt5-page-labels make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target poppler-qt5-page-labels_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target stress-threads-qt5_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target check_qt5_actualtext make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target check_qt5_actualtext_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_goostring_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target stress-threads-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target stress-threads-qt5_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt5-texts_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target poppler-qt5-texts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target poppler-qt5-texts_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_optcontent_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target check_qt5_goostring make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target check_qt5_goostring_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target stress-poppler-dir-qt5_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target stress-poppler-dir-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target stress-poppler-dir-qt5_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target test-password-qt5_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_lexer_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target check_qt5_optcontent make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target check_qt5_optcontent_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_metadata_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_search_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_utf_conversion_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target test-password-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target check_qt5_strings make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target test-password-qt5_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target check_qt5_strings_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target stress-poppler-qt5_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_pagemode_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target stress-poppler-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target stress-poppler-qt5_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target test-poppler-qt5_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target check_qt5_lexer make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target check_qt5_search make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target check_qt5_lexer_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target check_qt5_search_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target test-render-to-file-qt5_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt5-fonts_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Automatic MOC for target test-render-to-file-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Built target test-render-to-file-qt5_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_annotations_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target test-poppler-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Built target test-poppler-qt5_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt5-attachments_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Automatic MOC for target poppler-qt5-attachments make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target check_qt5_utf_conversion make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Built target poppler-qt5-attachments_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Built target check_qt5_utf_conversion_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt5-forms_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_attachments_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Automatic MOC for target poppler-qt5-forms make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Built target poppler-qt5-forms_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_object_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Automatic MOC for target check_qt5_pagemode make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Built target check_qt5_pagemode_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_pagelayout_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Automatic MOC for target check_qt5_object make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Automatic MOC for target poppler-qt5-fonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Built target check_qt5_object_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Built target poppler-qt5-fonts_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_forms_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_links_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Automatic MOC for target check_qt5_metadata make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 58%] Built target check_qt5_metadata_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_dateConversion_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 58%] Automatic MOC for target check_qt5_dateConversion make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 58%] Built target check_qt5_dateConversion_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_fonts_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 59%] Automatic MOC for target check_qt5_fonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 59%] Built target check_qt5_fonts_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_password_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 60%] Automatic MOC for target check_qt5_password make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 60%] Built target check_qt5_password_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_permissions_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 60%] Automatic MOC for target check_qt5_permissions make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 60%] Built target check_qt5_permissions_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler_qt5viewer_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Automatic MOC for target check_qt5_attachments make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 61%] Built target check_qt5_attachments_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_strings make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 61%] Building CXX object qt5/tests/CMakeFiles/check_qt5_strings.dir/check_qt5_strings_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 58%] Automatic MOC for target check_qt5_links make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 62%] Built target check_qt5_links_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_outline make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 62%] Building CXX object qt5/tests/CMakeFiles/check_qt5_outline.dir/check_qt5_outline_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 62%] Building CXX object qt5/tests/CMakeFiles/check_qt5_outline.dir/check_outline.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 62%] Linking CXX executable check_qt5_outline make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 62%] Built target check_qt5_outline make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_utf_conversion make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 62%] Building CXX object qt5/tests/CMakeFiles/check_qt5_utf_conversion.dir/check_qt5_utf_conversion_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 62%] Building CXX object qt5/tests/CMakeFiles/check_qt5_strings.dir/check_strings.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 62%] Linking CXX executable check_qt5_strings make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 62%] Built target check_qt5_strings make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_lexer make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 62%] Building CXX object qt5/tests/CMakeFiles/check_qt5_lexer.dir/check_qt5_lexer_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 61%] Automatic MOC for target poppler_qt5viewer make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 62%] Built target poppler_qt5viewer_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_search make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 63%] Building CXX object qt5/tests/CMakeFiles/check_qt5_search.dir/check_qt5_search_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Automatic MOC for target check_qt5_forms make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 62%] Building CXX object qt5/tests/CMakeFiles/check_qt5_utf_conversion.dir/check_utf_conversion.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 63%] Built target check_qt5_forms_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Automatic MOC for target check_qt5_pagelayout make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt5-page-labels make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Automatic MOC for target check_qt5_annotations make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 64%] Built target check_qt5_pagelayout_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 64%] Built target check_qt5_annotations_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 64%] Building CXX object qt5/tests/CMakeFiles/poppler-qt5-page-labels.dir/poppler-qt5-page-labels_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 54%] Automatic MOC for target check_qt5_pagelabelinfo make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 64%] Built target check_qt5_pagelabelinfo_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_actualtext make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target stress-threads-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 64%] Building CXX object qt5/tests/CMakeFiles/check_qt5_actualtext.dir/check_qt5_actualtext_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 64%] Building CXX object qt5/tests/CMakeFiles/stress-threads-qt5.dir/stress-threads-qt5_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_goostring make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 65%] Building CXX object qt5/tests/CMakeFiles/check_qt5_goostring.dir/check_qt5_goostring_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 64%] Linking CXX executable check_qt5_utf_conversion make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 66%] Built target check_qt5_utf_conversion make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 62%] Building CXX object qt5/tests/CMakeFiles/check_qt5_lexer.dir/check_lexer.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt5-texts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Building CXX object qt5/tests/CMakeFiles/poppler-qt5-texts.dir/poppler-qt5-texts_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Linking CXX executable check_qt5_lexer make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Built target check_qt5_lexer make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_optcontent make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Building CXX object qt5/tests/CMakeFiles/check_qt5_optcontent.dir/check_qt5_optcontent_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 64%] Building CXX object qt5/tests/CMakeFiles/poppler-qt5-page-labels.dir/poppler-page-labels.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Linking CXX executable poppler-qt5-page-labels make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Built target poppler-qt5-page-labels make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target stress-poppler-dir-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Building CXX object qt5/tests/CMakeFiles/stress-poppler-dir-qt5.dir/stress-poppler-dir-qt5_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 65%] Building CXX object qt5/tests/CMakeFiles/stress-threads-qt5.dir/stress-threads-qt5.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 64%] Building CXX object qt5/tests/CMakeFiles/check_qt5_actualtext.dir/check_actualtext.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Linking CXX executable stress-threads-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Built target stress-threads-qt5 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 63%] Building CXX object qt5/tests/CMakeFiles/check_qt5_search.dir/check_search.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Linking CXX executable check_qt5_actualtext make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Built target check_qt5_actualtext make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Building CXX object qt5/tests/CMakeFiles/stress-poppler-dir-qt5.dir/stress-poppler-dir.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target test-password-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 69%] Building CXX object qt5/tests/CMakeFiles/test-password-qt5.dir/test-password-qt5_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Building CXX object qt5/tests/CMakeFiles/poppler-qt5-texts.dir/poppler-texts.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_metadata make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 69%] Building CXX object qt5/tests/CMakeFiles/check_qt5_metadata.dir/check_qt5_metadata_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 41%] Building CXX object qt4/src/CMakeFiles/poppler-qt4.dir/poppler-annotation.cc.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qregexp.h:47, from /usr/include/qt4/QtCore/QRegExp:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:26: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qregexp.h:47, from /usr/include/qt4/QtCore/QRegExp:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:26: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtXml/QDomElement:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:28: /usr/include/qt4/QtXml/qdom.h: At global scope: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomElement:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:28: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, 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/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, 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/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, 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/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included 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/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, 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/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/QTransform:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:30: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/QTransform:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:30: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:35: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:35: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:35: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, 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/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:35: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:35: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, 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/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:35: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, 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/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:35: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, 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/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:35: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:35: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation-helper.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:36: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation-helper.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:36: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, 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/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/include/qt4/QtCore/qfile.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:33, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:39: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:39: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:39: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc: In member function 'PDFRectangle Poppler::AnnotationPrivate::boundaryToPdfRectangle(const QRectF&, int) const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:309:84: warning: declaration of 'flags' shadows a member of 'Poppler::AnnotationPrivate' [-Wshadow] 309 | PDFRectangle AnnotationPrivate::boundaryToPdfRectangle(const QRectF &r, int flags) const | ^~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:37: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation-private.h:63:13: note: shadowed declaration is here 63 | int flags; | ^~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc: In static member function 'static QList Poppler::AnnotationPrivate::findAnnotations(Page*, Poppler::DocumentData*, const QSet&, int)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:660:43: warning: declaration of 'j' shadows a previous local [-Wshadow] 660 | for ( int j = 0; j < instancesCount; ++j ) { | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:394:16: note: shadowed declaration is here 394 | for ( uint j = 0; j < numAnnotations; j++ ) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc: In constructor 'Poppler::Annotation::Annotation(Poppler::AnnotationPrivate&)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:1063:18: warning: 'Poppler::Annotation::window' is deprecated [-Wdeprecated-declarations] 1063 | : d_ptr( &dd ) | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:377:53: note: declared here 377 | Q_DECL_DEPRECATED struct { int width, height; } window; // Always set to zero | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:1063:18: warning: 'Poppler::Annotation::window' is deprecated [-Wdeprecated-declarations] 1063 | : d_ptr( &dd ) | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:377:53: note: declared here 377 | Q_DECL_DEPRECATED struct { int width, height; } window; // Always set to zero | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:1065:5: warning: 'Poppler::Annotation::window' is deprecated [-Wdeprecated-declarations] 1065 | window.width = window.height = 0; | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:377:53: note: declared here 377 | Q_DECL_DEPRECATED struct { int width, height; } window; // Always set to zero | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:1065:5: warning: 'Poppler::Annotation::window' is deprecated [-Wdeprecated-declarations] 1065 | window.width = window.height = 0; | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:377:53: note: declared here 377 | Q_DECL_DEPRECATED struct { int width, height; } window; // Always set to zero | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:1065:20: warning: 'Poppler::Annotation::window' is deprecated [-Wdeprecated-declarations] 1065 | window.width = window.height = 0; | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:377:53: note: declared here 377 | Q_DECL_DEPRECATED struct { int width, height; } window; // Always set to zero | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:1065:20: warning: 'Poppler::Annotation::window' is deprecated [-Wdeprecated-declarations] 1065 | window.width = window.height = 0; | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:377:53: note: declared here 377 | Q_DECL_DEPRECATED struct { int width, height; } window; // Always set to zero | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc: In constructor 'Poppler::Annotation::Annotation(Poppler::AnnotationPrivate&, const QDomNode&)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:1073:18: warning: 'Poppler::Annotation::window' is deprecated [-Wdeprecated-declarations] 1073 | : d_ptr( &dd ) | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:377:53: note: declared here 377 | Q_DECL_DEPRECATED struct { int width, height; } window; // Always set to zero | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:1073:18: warning: 'Poppler::Annotation::window' is deprecated [-Wdeprecated-declarations] 1073 | : d_ptr( &dd ) | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:377:53: note: declared here 377 | Q_DECL_DEPRECATED struct { int width, height; } window; // Always set to zero | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:1077:5: warning: 'Poppler::Annotation::window' is deprecated [-Wdeprecated-declarations] 1077 | window.width = window.height = 0; | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:377:53: note: declared here 377 | Q_DECL_DEPRECATED struct { int width, height; } window; // Always set to zero | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:1077:5: warning: 'Poppler::Annotation::window' is deprecated [-Wdeprecated-declarations] 1077 | window.width = window.height = 0; | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:377:53: note: declared here 377 | Q_DECL_DEPRECATED struct { int width, height; } window; // Always set to zero | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:1077:20: warning: 'Poppler::Annotation::window' is deprecated [-Wdeprecated-declarations] 1077 | window.width = window.height = 0; | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:377:53: note: declared here 377 | Q_DECL_DEPRECATED struct { int width, height; } window; // Always set to zero | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:1077:20: warning: 'Poppler::Annotation::window' is deprecated [-Wdeprecated-declarations] 1077 | window.width = window.height = 0; | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:377:53: note: declared here 377 | Q_DECL_DEPRECATED struct { int width, height; } window; // Always set to zero | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc: In member function 'void Poppler::TextAnnotation::setCalloutPoints(const QVector&)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:2242:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2242 | ftextann->setCalloutLine(0); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc: In member function 'AnnotPath** Poppler::InkAnnotationPrivate::toAnnotPaths(const QList >&)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:3513:93: warning: declaration of 'inkPaths' shadows a member of 'Poppler::InkAnnotationPrivate' [-Wshadow] 3513 | AnnotPath **InkAnnotationPrivate::toAnnotPaths(const QList< QLinkedList > &inkPaths) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:3496:39: note: shadowed declaration is here 3496 | QList< QLinkedList > inkPaths; | ^~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc: In member function 'virtual void Poppler::LinkAnnotation::store(QDomNode&, QDomDocument&) const': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:3882:15: warning: enumeration value 'JavaScript' not handled in switch [-Wswitch] 3882 | switch( linkDestination()->linkType() ) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:3882:15: warning: enumeration value 'OCGState' not handled in switch [-Wswitch] In file included from /usr/include/qt4/QtCore/qdatastream.h:45, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ In file included from /usr/include/qt4/QtCore/QPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:34, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:39: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qdatastream.h:45, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:29: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = Poppler::RichMediaAnnotation::Params::Private; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:4634:22: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | this->d = 0; | ^ /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = Poppler::RichMediaAnnotation::Instance::Private; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:4671:22: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = Poppler::RichMediaAnnotation::Configuration::Private; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:4717:22: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = Poppler::RichMediaAnnotation::Asset::Private; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:4777:22: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = Poppler::RichMediaAnnotation::Content::Private; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:4825:22: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = Poppler::RichMediaAnnotation::Activation::Private; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:4872:22: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = Poppler::RichMediaAnnotation::Deactivation::Private; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:4903:22: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = Poppler::RichMediaAnnotation::Settings::Private; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:4935:22: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:33: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:50, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:35: /usr/include/qt4/QtCore/qhash.h: In instantiation of 'bool QHash::contains(const Key&) const [with Key = Poppler::Annotation::SubType; T = QHashDummyValue]': /usr/include/qt4/QtCore/qset.h:91:78: required from 'bool QSet::contains(const T&) const [with T = Poppler::Annotation::SubType]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/src/poppler-annotation.cc:378:95: required from here /usr/include/qt4/QtCore/qhash.h:499:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 499 | Node **findNode(const Key &key, uint *hp = 0) const; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 69%] Building CXX object qt5/tests/CMakeFiles/test-password-qt5.dir/test-password-qt5.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Linking CXX executable check_qt5_search make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 69%] Built target check_qt5_search make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target stress-poppler-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 69%] Building CXX object qt5/tests/CMakeFiles/stress-poppler-qt5.dir/stress-poppler-qt5_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 69%] Linking CXX shared library libpoppler-qt4.so make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 70%] Built target poppler-qt4 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_pagemode make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 70%] Building CXX object qt5/tests/CMakeFiles/check_qt5_pagemode.dir/check_qt5_pagemode_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 69%] Linking CXX executable poppler-qt5-texts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 71%] Built target poppler-qt5-texts make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target test-poppler-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 71%] Building CXX object qt5/tests/CMakeFiles/test-poppler-qt5.dir/test-poppler-qt5_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 68%] Linking CXX executable stress-poppler-dir-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 71%] Built target stress-poppler-dir-qt5 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt5-fonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 72%] Building CXX object qt5/tests/CMakeFiles/poppler-qt5-fonts.dir/poppler-qt5-fonts_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 66%] Building CXX object qt5/tests/CMakeFiles/check_qt5_goostring.dir/check_goostring.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 70%] Building CXX object qt5/tests/CMakeFiles/stress-poppler-qt5.dir/stress-poppler-qt5.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 69%] Linking CXX executable test-password-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 72%] Built target test-password-qt5 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target test-render-to-file-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 72%] Linking CXX executable check_qt5_goostring make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 72%] Built target check_qt5_goostring make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 72%] Building CXX object qt5/tests/CMakeFiles/test-render-to-file-qt5.dir/test-render-to-file-qt5_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_annotations make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 73%] Building CXX object qt5/tests/CMakeFiles/check_qt5_annotations.dir/check_qt5_annotations_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 72%] Building CXX object qt5/tests/CMakeFiles/poppler-qt5-fonts.dir/poppler-fonts.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 72%] Linking CXX executable stress-poppler-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 73%] Built target stress-poppler-qt5 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 71%] Building CXX object qt5/tests/CMakeFiles/check_qt5_pagemode.dir/check_pagemode.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt5-attachments make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 73%] Building CXX object qt5/tests/CMakeFiles/poppler-qt5-attachments.dir/poppler-qt5-attachments_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 73%] Linking CXX executable poppler-qt5-fonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 73%] Built target poppler-qt5-fonts make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt5-forms make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 73%] Building CXX object qt5/tests/CMakeFiles/poppler-qt5-forms.dir/poppler-qt5-forms_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 73%] Linking CXX executable check_qt5_pagemode make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 74%] Built target check_qt5_pagemode make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_attachments make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 74%] Building CXX object qt5/tests/CMakeFiles/check_qt5_attachments.dir/check_qt5_attachments_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 72%] Building CXX object qt5/tests/CMakeFiles/test-render-to-file-qt5.dir/test-render-to-file.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 75%] Linking CXX executable test-render-to-file-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 75%] Built target test-render-to-file-qt5 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_object make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 76%] Building CXX object qt5/tests/CMakeFiles/check_qt5_object.dir/check_qt5_object_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 73%] Building CXX object qt5/tests/CMakeFiles/poppler-qt5-attachments.dir/poppler-attachments.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 74%] Building CXX object qt5/tests/CMakeFiles/poppler-qt5-forms.dir/poppler-forms.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 76%] Linking CXX executable poppler-qt5-forms make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 76%] Built target poppler-qt5-forms make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_pagelayout make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Building CXX object qt5/tests/CMakeFiles/check_qt5_pagelayout.dir/check_qt5_pagelayout_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 76%] Linking CXX executable poppler-qt5-attachments make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Built target poppler-qt5-attachments make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_forms make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Building CXX object qt5/tests/CMakeFiles/check_qt5_forms.dir/check_qt5_forms_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 71%] Building CXX object qt5/tests/CMakeFiles/test-poppler-qt5.dir/test-poppler-qt5.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 76%] Building CXX object qt5/tests/CMakeFiles/check_qt5_object.dir/check_object.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Linking CXX executable check_qt5_object make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Built target check_qt5_object make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_links make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Building CXX object qt5/tests/CMakeFiles/check_qt5_links.dir/check_qt5_links_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 67%] Building CXX object qt5/tests/CMakeFiles/check_qt5_optcontent.dir/check_optcontent.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Building CXX object qt5/tests/CMakeFiles/check_qt5_forms.dir/check_forms.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Linking CXX executable check_qt5_forms make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Built target check_qt5_forms make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_dateConversion make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Building CXX object qt5/tests/CMakeFiles/check_qt5_dateConversion.dir/check_qt5_dateConversion_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Linking CXX executable test-poppler-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Built target test-poppler-qt5 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_fonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Building CXX object qt5/tests/CMakeFiles/check_qt5_fonts.dir/check_qt5_fonts_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Linking CXX executable check_qt5_optcontent make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Built target check_qt5_optcontent make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 69%] Building CXX object qt5/tests/CMakeFiles/check_qt5_metadata.dir/check_metadata.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_password make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Building CXX object qt5/tests/CMakeFiles/check_qt5_password.dir/check_qt5_password_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Building CXX object qt5/tests/CMakeFiles/check_qt5_dateConversion.dir/check_dateConversion.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Linking CXX executable check_qt5_metadata make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 79%] Built target check_qt5_metadata make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_permissions make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 79%] Building CXX object qt5/tests/CMakeFiles/check_qt5_permissions.dir/check_qt5_permissions_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Building CXX object qt5/tests/CMakeFiles/check_qt5_password.dir/check_password.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 79%] Linking CXX executable check_qt5_password make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 79%] Built target check_qt5_password make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler_qt5viewer make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 79%] Linking CXX executable check_qt5_dateConversion make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 80%] Built target check_qt5_dateConversion make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 80%] Generating check_strings.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_strings make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 80%] Building CXX object qt4/tests/CMakeFiles/check_qt4_strings.dir/check_strings.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:21: /usr/include/qt4/QtGui/qcolor.h: At global scope: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:21: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:21: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-private.h:51, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h:35:68: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h:35:68: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h: In constructor 'Poppler::OutlineItemData::OutlineItemData(OutlineItem*, Poppler::DocumentData*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h:35:110: warning: declaration of 'documentData' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h:37:17: note: shadowed declaration is here 37 | DocumentData *documentData; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h:35:110: warning: declaration of 'data' shadows a member of 'Poppler::OutlineItemData' [-Wshadow] 35 | OutlineItemData(::OutlineItem *data, DocumentData *documentData) : data{data}, documentData{documentData} {} | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h:36:18: note: shadowed declaration is here 36 | ::OutlineItem *data; | ^~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-private.h: In constructor 'Poppler::TextBoxData::TextBoxData()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-private.h:218:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | : nextWord(0), hasSpaceAfter(false) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:31:5: note: in expansion of macro 'Q_OBJECT' 31 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:31:5: note: in expansion of macro 'Q_OBJECT' 31 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp: In function 'int qRegisterMetaType(const char*, T*) [with T = GooString*]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:54:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 54 | qRegisterMetaType("GooString*"); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp: In function 'int qRegisterMetaType(const char*, T*) [with T = unsigned int*]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:55:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 55 | qRegisterMetaType("Unicode*"); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp: In function 'void QTest::addColumn(const char*, T*) [with T = unsigned int*]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:69:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QTest::addColumn("data"); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp: In function 'void QTest::addColumn(const char*, T*) [with T = int]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:70:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 70 | QTest::addColumn("length"); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp: In function 'void QTest::addColumn(const char*, T*) [with T = QString]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:71:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | QTest::addColumn("result"); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp: In function 'int qMetaTypeId(T*) [with T = unsigned int*]': /usr/include/qt4/QtTest/qtestcase.h:98:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 98 | type name = *static_cast(QTest::qData(#name, ::qMetaTypeId())) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:118:5: note: in expansion of macro 'QFETCH' 118 | QFETCH(Unicode*, data); | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp: In function 'int qMetaTypeId(T*) [with T = int]': /usr/include/qt4/QtTest/qtestcase.h:98:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 98 | type name = *static_cast(QTest::qData(#name, ::qMetaTypeId())) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:119:5: note: in expansion of macro 'QFETCH' 119 | QFETCH(int, length); | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp: In function 'int qMetaTypeId(T*) [with T = QString]': /usr/include/qt4/QtTest/qtestcase.h:98:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 98 | type name = *static_cast(QTest::qData(#name, ::qMetaTypeId())) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:120:5: note: in expansion of macro 'QFETCH' 120 | QFETCH(QString, result); | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp: In function 'void QTest::addColumn(const char*, T*) [with T = GooString*]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:129:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | QTest::addColumn("string"); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp: In function 'int qMetaTypeId(T*) [with T = GooString*]': /usr/include/qt4/QtTest/qtestcase.h:98:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 98 | type name = *static_cast(QTest::qData(#name, ::qMetaTypeId())) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:167:5: note: in expansion of macro 'QFETCH' 167 | QFETCH(GooString*, string); | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp: In function 'void QTest::addColumn(const char*, T*) [with T = QByteArray]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:176:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 176 | QTest::addColumn("result"); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp: In function 'int qMetaTypeId(T*) [with T = QByteArray]': /usr/include/qt4/QtTest/qtestcase.h:98:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 98 | type name = *static_cast(QTest::qData(#name, ::qMetaTypeId())) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:198:5: note: in expansion of macro 'QFETCH' 198 | QFETCH(QByteArray, result); | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:250: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_strings.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_strings.moc:81:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 81 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_strings.moc: In member function 'virtual void* TestStrings::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_strings.moc:100:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 100 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = Poppler::OptContentModel]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-private.h:90:6: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_strings.cpp:19: /usr/include/qt4/QtCore/qsharedpointer_impl.h: In instantiation of 'QtSharedPointer::ExternalRefCount::ExternalRefCount() [with T = const Poppler::LinkDestination]': /usr/include/qt4/QtCore/qsharedpointer_impl.h:470:29: required from 'QSharedPointer::QSharedPointer() [with T = const Poppler::LinkDestination]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-outline-private.h:35:107: required from here /usr/include/qt4/QtCore/qsharedpointer_impl.h:158:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | inline Basic(T *ptr = 0) : value(ptr) { } | ^ /usr/include/qt4/QtCore/qsharedpointer_impl.h:387:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 387 | inline ExternalRefCount() : d(0) { } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Linking CXX executable check_qt4_strings make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Built target check_qt4_strings make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Generating check_goostring.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_goostring make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Building CXX object qt4/tests/CMakeFiles/check_qt4_goostring.dir/check_goostring.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:8:5: note: in expansion of macro 'Q_OBJECT' 8 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:8:5: note: in expansion of macro 'Q_OBJECT' 8 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp: In function 'void QTest::addColumn(const char*, T*) [with T = QByteArray]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:18:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 18 | QTest::addColumn("string"); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp: In function 'void QTest::addColumn(const char*, T*) [with T = int]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:20:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 20 | QTest::addColumn("position"); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp: In function 'int qMetaTypeId(T*) [with T = QByteArray]': /usr/include/qt4/QtTest/qtestcase.h:98:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 98 | type name = *static_cast(QTest::qData(#name, ::qMetaTypeId())) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:34:5: note: in expansion of macro 'QFETCH' 34 | QFETCH(QByteArray, string); | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp: In function 'int qMetaTypeId(T*) [with T = int]': /usr/include/qt4/QtTest/qtestcase.h:98:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 98 | type name = *static_cast(QTest::qData(#name, ::qMetaTypeId())) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:36:5: note: in expansion of macro 'QFETCH' 36 | QFETCH(int, position); | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:126: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_goostring.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_goostring.moc:63:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_goostring.moc: In member function 'virtual void* TestGooString::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_goostring.moc:82:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/QScopedPointer:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:1: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = GooString; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:64:85: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | this->d = 0; | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_goostring.cpp:2: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 73%] Building CXX object qt5/tests/CMakeFiles/check_qt5_annotations.dir/check_annotations.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Linking CXX executable check_qt5_annotations make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Built target check_qt5_annotations make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 75%] Building CXX object qt5/tests/CMakeFiles/check_qt5_attachments.dir/check_attachments.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Generating check_pagelabelinfo.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_pagelabelinfo make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Linking CXX executable check_qt4_goostring make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Built target check_qt4_goostring make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Linking CXX executable check_qt5_attachments make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Built target check_qt5_attachments make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Generating check_attachments.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Generating check_pagemode.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_attachments make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_pagemode make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Building CXX object qt5/tests/CMakeFiles/check_qt5_pagelayout.dir/check_pagelayout.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 80%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/poppler_qt5viewer_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Building CXX object qt4/tests/CMakeFiles/check_qt4_pagelabelinfo.dir/check_pagelabelinfo.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:42: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_pagelabelinfo.moc:63:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_pagelabelinfo.moc: In member function 'virtual void* TestPageLabelInfo::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_pagelabelinfo.moc:82:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelabelinfo.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/poppler/PageLabelInfo_p.h: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/poppler/PageLabelInfo_p.h:32:28: warning: 'std::pair fromDecimal(const char*, const char*, bool)' defined but not used [-Wunused-function] 32 | static std::pair fromDecimal(const char *const begin, const char *const end, const bool unicode) { | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Linking CXX executable check_qt5_pagelayout make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Built target check_qt5_pagelayout make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Building CXX object qt5/tests/CMakeFiles/check_qt5_links.dir/check_links.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Linking CXX executable check_qt4_pagelabelinfo make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/documentobserver.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 79%] Building CXX object qt5/tests/CMakeFiles/check_qt5_permissions.dir/check_permissions.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Building CXX object qt5/tests/CMakeFiles/check_qt5_fonts.dir/check_fonts.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Building CXX object qt4/tests/CMakeFiles/check_qt4_pagemode.dir/check_pagemode.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:3: /usr/include/qt4/QtGui/qcolor.h: At global scope: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:3: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:3: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:72: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_pagemode.moc:65:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_pagemode.moc: In member function 'virtual void* TestPageMode::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_pagemode.moc:84:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: In instantiation of 'char* QTest::toString(const T&) [with T = Poppler::Document::PageMode]': /usr/include/qt4/QtTest/qtestcase.h:181:41: required from 'bool QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int) [with T = Poppler::Document::PageMode]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagemode.cpp:22:5: required from here /usr/include/qt4/QtTest/qtestcase.h:125:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 125 | return 0; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Linking CXX executable check_qt5_links make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Linking CXX executable check_qt5_permissions make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Building CXX object qt4/tests/CMakeFiles/check_qt4_attachments.dir/check_attachments.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:3: /usr/include/qt4/QtGui/qcolor.h: At global scope: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:3: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:3: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:9:5: note: in expansion of macro 'Q_OBJECT' 9 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:9:5: note: in expansion of macro 'Q_OBJECT' 9 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:156: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_attachments.moc:65:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_attachments.moc: In member function 'virtual void* TestAttachments::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_attachments.moc:84:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_attachments.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/abstractinfodock.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Linking CXX executable check_qt4_pagemode make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Linking CXX executable check_qt5_fonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 82%] Linking CXX executable check_qt4_attachments make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/embeddedfiles.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 82%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/fonts.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 83%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/main_viewer.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 83%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/info.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 83%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/metadata.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 83%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/navigationtoolbar.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 83%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/optcontent.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 83%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/pageview.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/permissions.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/thumbnails.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/toc.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Built target check_qt5_links make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Built target check_qt5_fonts make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Built target check_qt5_permissions make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Built target check_qt4_pagelabelinfo make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Built target check_qt4_pagemode make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target test-password-qt4 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Built target check_qt4_attachments make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Generating check_password.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target test-poppler-qt4 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Building CXX object qt5/demos/CMakeFiles/poppler_qt5viewer.dir/viewer.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Generating check_optcontent.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_password make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target stress-poppler-dir-qt4 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target stress-poppler-qt4 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt4-texts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Building CXX object qt4/tests/CMakeFiles/check_qt4_password.dir/check_password.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:3: /usr/include/qt4/QtGui/qcolor.h: At global scope: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:3: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:3: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:87: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_password.moc:67:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_password.moc: In member function 'virtual void* TestPassword::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_password.moc:86:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 86 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_password.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_optcontent make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Building CXX object qt4/tests/CMakeFiles/stress-poppler-dir-qt4.dir/stress-poppler-dir.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, 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/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ 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/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qfile.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/QDir:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:2: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:3: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:47, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:4: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:4: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtGui/qapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:4: /usr/include/qt4/QtGui/qapplication.h:162:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 162 | static void setPalette(const QPalette &, const char* className = 0); | ^ /usr/include/qt4/QtGui/qapplication.h:166:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 166 | static void setFont(const QFont &, const char* className = 0); | ^ In file included from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:5: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:5: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:5: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:5: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:9: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:9: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:9: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:9: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:9: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:9: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:9: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:9: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:9: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:9: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatastream.h:45, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-dir.cpp:1: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 86%] Linking CXX executable check_qt4_password make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 86%] Built target check_qt4_password make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 86%] Linking CXX executable stress-poppler-dir-qt4 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 86%] Building CXX object qt4/tests/CMakeFiles/poppler-qt4-texts.dir/poppler-texts.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qeventloop.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:47, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:2: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:2: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:2: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:2: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:2: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:6: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:6: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:6: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:6: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-texts.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 86%] Built target stress-poppler-dir-qt4 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt4-forms make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Linking CXX executable poppler_qt5viewer make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 86%] Built target poppler_qt5viewer make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Building CXX object qt4/tests/CMakeFiles/test-password-qt4.dir/test-password-qt4.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, 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/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ 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/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qeventloop.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:47, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:2: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:2: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtGui/qapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:2: /usr/include/qt4/QtGui/qapplication.h:162:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 162 | static void setPalette(const QPalette &, const char* className = 0); | ^ /usr/include/qt4/QtGui/qapplication.h:166:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 166 | static void setFont(const QFont &, const char* className = 0); | ^ In file included from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:3: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:3: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:3: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:3: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qpixmap.h:46, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:4: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:4: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpainter.h:52, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:4: /usr/include/qt4/QtGui/qdrawutil.h:80:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:85:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 85 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:89:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:93:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 93 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:97:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:101:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:105:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:109:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:112:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 112 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:115:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:181:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 181 | ); | ^ /usr/include/qt4/QtGui/qdrawutil.h: In function 'void qDrawBorderPixmap(QPainter*, const QRect&, const QMargins&, const QPixmap&)': /usr/include/qt4/QtGui/qdrawutil.h:188:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 188 | qDrawBorderPixmap(painter, target, margins, pixmap, pixmap.rect(), margins); | ^ In file included from /usr/include/qt4/QtGui/qpen.h:46, from /usr/include/qt4/QtGui/qpainter.h:56, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:4: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:3: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qpainter.h:61, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:4: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ In file included from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:4: /usr/include/qt4/QtGui/qpainter.h:382:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | const QPixmap &pixmap, PixmapFragmentHints hints = 0); | ^ /usr/include/qt4/QtGui/qpainter.h:384:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 384 | const QPixmap &pixmap, PixmapFragmentHints hints = 0); | ^ /usr/include/qt4/QtGui/qpainter.h:418:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 418 | void drawText(const QRectF &r, int flags, const QString &text, QRectF *br=0); | ^ /usr/include/qt4/QtGui/qpainter.h:419:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 419 | void drawText(const QRect &r, int flags, const QString &text, QRect *br=0); | ^ /usr/include/qt4/QtGui/qpainter.h:420:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 420 | inline void drawText(int x, int y, int w, int h, int flags, const QString &text, QRect *br=0); | ^ /usr/include/qt4/QtGui/qpainter.h:463:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 463 | static QPaintDevice *redirected(const QPaintDevice *device, QPoint *offset = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdrag.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdrag.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qevent.h:57, from /usr/include/qt4/QtGui/QPaintEvent:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:5: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QPaintEvent:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:5: /usr/include/qt4/QtGui/qevent.h:636:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 636 | QActionEvent(int type, QAction *action, QAction *before = 0); | ^ /usr/include/qt4/QtGui/qevent.h:813:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 813 | Qt::TouchPointStates touchPointStates = 0, | ^ In file included from /usr/include/qt4/QtCore/qalgorithms.h:45, from /usr/include/qt4/QtCore/qdebug.h:45, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:6: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtCore/qalgorithms.h:45, from /usr/include/qt4/QtCore/qdebug.h:45, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/QWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:6: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:8: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:8: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:8: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:8: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:8: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:8: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:8: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:8: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:8: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:8: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/QWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:6: /usr/include/qt4/QtGui/qwidget.h: In constructor 'PDFDisplay::PDFDisplay(Poppler::Document*)': /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtCore/qdatastream.h:45, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-password-qt4.cpp:1: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target test-render-to-file-qt4 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt4-fonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 86%] Linking CXX executable test-password-qt4 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Building CXX object qt4/tests/CMakeFiles/test-poppler-qt4.dir/test-poppler-qt4.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, 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/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ 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/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qfile.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:2: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:47, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:3: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:3: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtGui/qapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:3: /usr/include/qt4/QtGui/qapplication.h:162:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 162 | static void setPalette(const QPalette &, const char* className = 0); | ^ /usr/include/qt4/QtGui/qapplication.h:166:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 166 | static void setFont(const QFont &, const char* className = 0); | ^ In file included from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:4: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:4: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:4: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:4: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:4: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qlabel.h:45, from /usr/include/qt4/QtGui/QLabel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ In file included from /usr/include/qt4/QtCore/qalgorithms.h:45, from /usr/include/qt4/QtCore/qdebug.h:45, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qlabel.h:45, from /usr/include/qt4/QtGui/QLabel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtCore/qalgorithms.h:45, from /usr/include/qt4/QtCore/qdebug.h:45, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qlabel.h:45, from /usr/include/qt4/QtGui/QLabel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtGui/qframe.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qlabel.h:45, from /usr/include/qt4/QtGui/QLabel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qframe.h:68:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:68:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlabel.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlabel.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QLabel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qlabel.h:72:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QLabel(QWidget *parent=0, Qt::WindowFlags f=0); | ^ /usr/include/qt4/QtGui/qlabel.h:72:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QLabel(QWidget *parent=0, Qt::WindowFlags f=0); | ^ /usr/include/qt4/QtGui/qlabel.h:73:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QLabel(const QString &text, QWidget *parent=0, Qt::WindowFlags f=0); | ^ /usr/include/qt4/QtGui/qlabel.h:73:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QLabel(const QString &text, QWidget *parent=0, Qt::WindowFlags f=0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdrag.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdrag.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QMouseEvent:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:6: /usr/include/qt4/QtGui/qevent.h:636:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 636 | QActionEvent(int type, QAction *action, QAction *before = 0); | ^ /usr/include/qt4/QtGui/qevent.h:813:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 813 | Qt::TouchPointStates touchPointStates = 0, | ^ In file included from /usr/include/qt4/QtGui/qpainter.h:52, from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:7: /usr/include/qt4/QtGui/qdrawutil.h:80:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:85:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 85 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:89:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:93:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 93 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:97:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:101:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:105:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:109:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:112:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 112 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:115:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | int lineWidth = 1, const QBrush *fill = 0); | ^ /usr/include/qt4/QtGui/qdrawutil.h:181:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 181 | ); | ^ /usr/include/qt4/QtGui/qdrawutil.h: In function 'void qDrawBorderPixmap(QPainter*, const QRect&, const QMargins&, const QPixmap&)': /usr/include/qt4/QtGui/qdrawutil.h:188:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 188 | qDrawBorderPixmap(painter, target, margins, pixmap, pixmap.rect(), margins); | ^ In file included from /usr/include/qt4/QtGui/QPainter:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:7: /usr/include/qt4/QtGui/qpainter.h: At global scope: /usr/include/qt4/QtGui/qpainter.h:382:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | const QPixmap &pixmap, PixmapFragmentHints hints = 0); | ^ /usr/include/qt4/QtGui/qpainter.h:384:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 384 | const QPixmap &pixmap, PixmapFragmentHints hints = 0); | ^ /usr/include/qt4/QtGui/qpainter.h:418:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 418 | void drawText(const QRectF &r, int flags, const QString &text, QRectF *br=0); | ^ /usr/include/qt4/QtGui/qpainter.h:419:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 419 | void drawText(const QRect &r, int flags, const QString &text, QRect *br=0); | ^ /usr/include/qt4/QtGui/qpainter.h:420:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 420 | inline void drawText(int x, int y, int w, int h, int flags, const QString &text, QRect *br=0); | ^ /usr/include/qt4/QtGui/qpainter.h:463:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 463 | static QPaintDevice *redirected(const QPaintDevice *device, QPoint *offset = 0); | ^ In file included from /usr/include/qt4/QtGui/QToolTip:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:9: /usr/include/qt4/QtGui/qtooltip.h:59:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | static void showText(const QPoint &pos, const QString &text, QWidget *w = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:12: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:12: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:12: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:12: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:12: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:12: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:12: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:12: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:12: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:12: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qlabel.h:45, from /usr/include/qt4/QtGui/QLabel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qwidget.h: In constructor 'PDFDisplay::PDFDisplay(Poppler::Document*, bool)': /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp: In function 'int main(int, char**)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:227:17: warning: declaration of 'page' shadows a previous local [-Wshadow] 227 | Poppler::Page *page = doc->page(0); | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:207:20: note: shadowed declaration is here 207 | Poppler::Page *page = doc->page(0); | ^~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:229:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 229 | QLabel *l = new QLabel(page->text(QRectF()), 0); | ^ In file included from /usr/include/qt4/QtGui/QLabel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qlabel.h:73:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QLabel(const QString &text, QWidget *parent=0, Qt::WindowFlags f=0); | ^ In file included from /usr/include/qt4/QtCore/qdatastream.h:45, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 88%] Built target test-password-qt4 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler-qt4-attachments make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 86%] Linking CXX executable poppler-qt4-texts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 88%] Built target poppler-qt4-texts make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 88%] Generating check_fonts.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_fonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 87%] Building CXX object qt4/tests/CMakeFiles/poppler-qt4-fonts.dir/poppler-fonts.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qeventloop.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:47, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:2: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:2: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:2: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:2: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:2: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:6: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:6: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:6: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:6: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-fonts.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Linking CXX executable poppler-qt4-fonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Built target poppler-qt4-fonts make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 88%] Linking CXX executable test-poppler-qt4 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Built target test-poppler-qt4 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Generating check_search.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target stress-threads-qt4 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_search make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 86%] Building CXX object qt4/tests/CMakeFiles/poppler-qt4-forms.dir/poppler-forms.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qeventloop.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:47, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:2: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:2: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:2: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:2: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:2: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:6: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:6: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:6: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:6: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-forms.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 87%] Building CXX object qt4/tests/CMakeFiles/test-render-to-file-qt4.dir/test-render-to-file.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, 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/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ 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/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qfile.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:2: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:47, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:3: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:3: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtGui/qapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:3: /usr/include/qt4/QtGui/qapplication.h:162:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 162 | static void setPalette(const QPalette &, const char* className = 0); | ^ /usr/include/qt4/QtGui/qapplication.h:166:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 166 | static void setFont(const QFont &, const char* className = 0); | ^ In file included from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:4: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:4: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:4: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:4: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:6: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:6: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:6: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:6: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatastream.h:45, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/test-render-to-file.cpp:1: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Linking CXX executable poppler-qt4-forms make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Built target poppler-qt4-forms make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 86%] Building CXX object qt4/tests/CMakeFiles/check_qt4_optcontent.dir/check_optcontent.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:6: /usr/include/qt4/QtGui/qcolor.h: At global scope: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:6: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:6: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:10:5: note: in expansion of macro 'Q_OBJECT' 10 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:10:5: note: in expansion of macro 'Q_OBJECT' 10 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp: In member function 'void TestOptionalContent::checkVisPolicy()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:30:52: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 30 | index = optContent->index( 0, 0, QModelIndex() ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:33:52: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 33 | index = optContent->index( 1, 0, QModelIndex() ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp: In member function 'void TestOptionalContent::checkNestedLayers()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:51:52: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 51 | index = optContent->index( 0, 0, QModelIndex() ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:55:52: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 55 | index = optContent->index( 1, 0, QModelIndex() ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:64:52: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 64 | index = optContent->index( 2, 0, QModelIndex() ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:68:52: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 68 | index = optContent->index( 3, 0, QModelIndex() ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp: In member function 'void TestOptionalContent::checkRadioButtons()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:377:52: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 377 | index = optContent->index( 0, 0, QModelIndex() ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:386:47: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 386 | subindex = optContent->index( 1, 0, index ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:390:47: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 390 | subindex = optContent->index( 2, 0, index ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:397:47: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 397 | subindex = optContent->index( 0, 0, index ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:401:47: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 401 | subindex = optContent->index( 2, 0, index ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:405:47: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 405 | subindex = optContent->index( 1, 0, index ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:412:47: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 412 | subindex = optContent->index( 0, 0, index ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:416:47: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 416 | subindex = optContent->index( 2, 0, index ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:420:47: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 420 | subindex = optContent->index( 1, 0, index ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:428:47: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 428 | subindex = optContent->index( 0, 0, index ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:432:47: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 432 | subindex = optContent->index( 2, 0, index ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:436:47: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 436 | subindex = optContent->index( 1, 0, index ); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:445: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_optcontent.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_optcontent.moc:68:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_optcontent.moc: In member function 'virtual void* TestOptionalContent::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_optcontent.moc:87:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 87 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: In instantiation of 'char* QTest::toString(const T&) [with T = Qt::CheckState]': /usr/include/qt4/QtTest/qtestcase.h:181:41: required from 'bool QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int) [with T = Qt::CheckState]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:32:5: required from here /usr/include/qt4/QtTest/qtestcase.h:125:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 125 | return 0; | ^ /usr/include/qt4/QtTest/qtestcase.h: In instantiation of 'char* QTest::toString(const T&) [with T = OptionalContentGroup::State]': /usr/include/qt4/QtTest/qtestcase.h:181:41: required from 'bool QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int) [with T = OptionalContentGroup::State]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_optcontent.cpp:182:5: required from here /usr/include/qt4/QtTest/qtestcase.h:125:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Generating check_links.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Linking CXX executable test-render-to-file-qt4 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Built target test-render-to-file-qt4 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Linking CXX executable check_qt4_optcontent make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Built target check_qt4_optcontent make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Generating check_metadata.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_metadata make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Building CXX object qt4/tests/CMakeFiles/check_qt4_search.dir/check_search.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/include/qt4/QtGui/qcolor.h: At global scope: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp: In member function 'void TestSearch::bug7063()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:23:115: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 23 | QCOMPARE( page->search(QString("non-ascii:"), pageRegion, Poppler::Page::FromTop, Poppler::Page::CaseSensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:25:110: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 25 | QCOMPARE( page->search(QString("Ascii"), pageRegion, Poppler::Page::FromTop, Poppler::Page::CaseSensitive), false ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:26:112: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 26 | QCOMPARE( page->search(QString("Ascii"), pageRegion, Poppler::Page::FromTop, Poppler::Page::CaseInsensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:28:112: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 28 | QCOMPARE( page->search(QString("latin1:"), pageRegion, Poppler::Page::FromTop, Poppler::Page::CaseSensitive), false ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:30:117: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 30 | QCOMPARE( page->search(QString::fromUtf8("é"), pageRegion, Poppler::Page::FromTop, Poppler::Page::CaseSensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:31:117: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 31 | QCOMPARE( page->search(QString::fromUtf8("à"), pageRegion, Poppler::Page::FromTop, Poppler::Page::CaseSensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:32:117: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 32 | QCOMPARE( page->search(QString::fromUtf8("ç"), pageRegion, Poppler::Page::FromTop, Poppler::Page::CaseSensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:33:146: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 33 | QCOMPARE( page->search(QString::fromUtf8("search \"é\", \"à\" or \"ç\""), pageRegion, Poppler::Page::FromTop, Poppler::Page::CaseSensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:34:121: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 34 | QCOMPARE( page->search(QString::fromUtf8("¥µ©"), pageRegion, Poppler::Page::FromTop, Poppler::Page::CaseSensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:35:119: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 35 | QCOMPARE( page->search(QString::fromUtf8("¥©"), pageRegion, Poppler::Page::FromTop, Poppler::Page::CaseSensitive), false ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp: In member function 'void TestSearch::testNextAndPrevious()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:64:103: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 64 | QCOMPARE( page->search(QString("is"), region, Poppler::Page::FromTop, Poppler::Page::CaseSensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:69:106: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 69 | QCOMPARE( page->search(QString("is"), region, Poppler::Page::NextResult, Poppler::Page::CaseSensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:74:106: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 74 | QCOMPARE( page->search(QString("is"), region, Poppler::Page::NextResult, Poppler::Page::CaseSensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:79:106: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 79 | QCOMPARE( page->search(QString("is"), region, Poppler::Page::NextResult, Poppler::Page::CaseSensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:84:106: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 84 | QCOMPARE( page->search(QString("is"), region, Poppler::Page::NextResult, Poppler::Page::CaseSensitive), false ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:85:110: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 85 | QCOMPARE( page->search(QString("is"), region, Poppler::Page::PreviousResult, Poppler::Page::CaseSensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:90:110: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 90 | QCOMPARE( page->search(QString("is"), region, Poppler::Page::PreviousResult, Poppler::Page::CaseSensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:95:110: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 95 | QCOMPARE( page->search(QString("is"), region, Poppler::Page::PreviousResult, Poppler::Page::CaseSensitive), true ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:100:110: warning: 'bool Poppler::Page::search(const QString&, QRectF&, Poppler::Page::SearchDirection, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 100 | QCOMPARE( page->search(QString("is"), region, Poppler::Page::PreviousResult, Poppler::Page::CaseSensitive), false ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:606:25: note: declared here 606 | Q_DECL_DEPRECATED bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp: In member function 'void TestSearch::testWholeWordsOnly()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:153:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | const Poppler::Page::SearchFlags mode0 = 0; | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:174: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_search.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_search.moc:60:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_search.moc: In member function 'virtual void* TestSearch::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_search.moc:79:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = Poppler::Document; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:16:115: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | this->d = 0; | ^ /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = Poppler::Document; Cleanup = QScopedPointerDeleter; QScopedPointer::RestrictedBool = Poppler::Document* QScopedPointer::*]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:17:5: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = Poppler::Page; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:19:59: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | this->d = 0; | ^ /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = Poppler::Page; Cleanup = QScopedPointerDeleter; QScopedPointer::RestrictedBool = Poppler::Page* QScopedPointer::*]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:20:5: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_search.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_links make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Building CXX object qt4/tests/CMakeFiles/check_qt4_links.dir/check_links.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:3: /usr/include/qt4/QtGui/qcolor.h: At global scope: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:3: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:3: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:9:5: note: in expansion of macro 'Q_OBJECT' 9 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:9:5: note: in expansion of macro 'Q_OBJECT' 9 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:98: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_links.moc:60:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_links.moc: In member function 'virtual void* TestLinks::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_links.moc:79:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: In instantiation of 'char* QTest::toString(const T&) [with T = Poppler::Link::LinkType]': /usr/include/qt4/QtTest/qtestcase.h:181:41: required from 'bool QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int) [with T = Poppler::Link::LinkType]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_links.cpp:54:5: required from here /usr/include/qt4/QtTest/qtestcase.h:125:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 125 | return 0; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Generating check_pagelayout.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_pagelayout make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Building CXX object qt4/tests/CMakeFiles/stress-threads-qt4.dir/stress-threads-qt4.cpp.o In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatetime.h:45, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qobjectdefs.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:13: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:13: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qfile.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QFile:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:14: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QThread:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:16: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:17: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:17: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:17: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:17: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:22:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 22 | SillyThread(Poppler::Document* document, QObject* parent = 0); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:35:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 35 | CrazyThread(uint seed, Poppler::Document* document, QMutex* annotationMutex, QObject* parent = 0); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp: In function 'Poppler::Page* loadPage(Poppler::Document*, int)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:50:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 50 | if(page == 0) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp: In member function 'virtual void CrazyThread::run()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:117:61: warning: 'QList Poppler::Page::search(const QString&, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 117 | page->search("c", Poppler::Page::CaseInsensitive); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:646:41: note: declared here 646 | Q_DECL_DEPRECATED QList search(const QString &text, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:118:59: warning: 'QList Poppler::Page::search(const QString&, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 118 | page->search("r", Poppler::Page::CaseSensitive); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:646:41: note: declared here 646 | Q_DECL_DEPRECATED QList search(const QString &text, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:119:61: warning: 'QList Poppler::Page::search(const QString&, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 119 | page->search("a", Poppler::Page::CaseInsensitive); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:646:41: note: declared here 646 | Q_DECL_DEPRECATED QList search(const QString &text, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:120:59: warning: 'QList Poppler::Page::search(const QString&, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 120 | page->search("z", Poppler::Page::CaseSensitive); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:646:41: note: declared here 646 | Q_DECL_DEPRECATED QList search(const QString &text, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:121:61: warning: 'QList Poppler::Page::search(const QString&, Poppler::Page::SearchMode, Poppler::Page::Rotation) const' is deprecated [-Wdeprecated-declarations] 121 | page->search("y", Poppler::Page::CaseInsensitive); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:646:41: note: declared here 646 | Q_DECL_DEPRECATED QList search(const QString &text, SearchMode caseSensitive, Rotation rotate = Rotate0) const; | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:172:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 172 | Poppler::Annotation* annotation = 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp: In function 'int main(int, char**)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:274:17: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 274 | qsrand(time(0)); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:281:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 281 | if(document == 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63, from /usr/include/qt4/QtCore/qsharedpointer.h:50, from /usr/include/qt4/QtCore/qdatetime.h:47, from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:10: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::~QScopedPointer() [with T = Poppler::Page; Cleanup = QScopedPointerDeleter]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-threads-qt4.cpp:115:56: required from here /usr/include/qt4/QtCore/qscopedpointer.h:101:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | this->d = 0; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Linking CXX executable stress-threads-qt4 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Built target stress-threads-qt4 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Building CXX object qt4/tests/CMakeFiles/check_qt4_metadata.dir/check_metadata.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:3: /usr/include/qt4/QtGui/qcolor.h: At global scope: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:3: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:3: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp: In function 'void QTest::addColumn(const char*, T*) [with T = QString]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:29:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 29 | QTest::addColumn("key"); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp: In function 'int qMetaTypeId(T*) [with T = QString]': /usr/include/qt4/QtTest/qtestcase.h:98:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 98 | type name = *static_cast(QTest::qData(#name, ::qMetaTypeId())) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:47:5: note: in expansion of macro 'QFETCH' 47 | QFETCH( QString, key ); | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp: In member function 'void TestMetaData::checkVersion()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:216:31: warning: 'double Poppler::Document::pdfVersion() const' is deprecated [-Wdeprecated-declarations] 216 | QCOMPARE( doc->pdfVersion(), 1.6 ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:1390:27: note: declared here 1390 | Q_DECL_DEPRECATED double pdfVersion() const; | ^~~~~~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp: In member function 'void TestMetaData::checkPdfId()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:236:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | QVERIFY( doc->getPdfId( 0, 0 ) ); | ^ /usr/include/qt4/QtTest/qtestcase.h:58:26: note: in definition of macro 'QVERIFY' 58 | if (!QTest::qVerify((statement), #statement, "", __FILE__, __LINE__))\ | ^~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:236:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | QVERIFY( doc->getPdfId( 0, 0 ) ); | ^ /usr/include/qt4/QtTest/qtestcase.h:58:26: note: in definition of macro 'QVERIFY' 58 | if (!QTest::qVerify((statement), #statement, "", __FILE__, __LINE__))\ | ^~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:241:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 241 | QVERIFY( doc->getPdfId( &permanentId, 0 ) ); | ^ /usr/include/qt4/QtTest/qtestcase.h:58:26: note: in definition of macro 'QVERIFY' 58 | if (!QTest::qVerify((statement), #statement, "", __FILE__, __LINE__))\ | ^~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:247:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 247 | QVERIFY( doc->getPdfId( 0, &updateId ) ); | ^ /usr/include/qt4/QtTest/qtestcase.h:58:26: note: in definition of macro 'QVERIFY' 58 | if (!QTest::qVerify((statement), #statement, "", __FILE__, __LINE__))\ | ^~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp: In member function 'void TestMetaData::checkNoPdfId()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:268:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QVERIFY( !doc->getPdfId( 0, 0 ) ); | ^ /usr/include/qt4/QtTest/qtestcase.h:58:26: note: in definition of macro 'QVERIFY' 58 | if (!QTest::qVerify((statement), #statement, "", __FILE__, __LINE__))\ | ^~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:268:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QVERIFY( !doc->getPdfId( 0, 0 ) ); | ^ /usr/include/qt4/QtTest/qtestcase.h:58:26: note: in definition of macro 'QVERIFY' 58 | if (!QTest::qVerify((statement), #statement, "", __FILE__, __LINE__))\ | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:274: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_metadata.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_metadata.moc:94:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 94 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_metadata.moc: In member function 'virtual void* TestMetaData::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_metadata.moc:113:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 113 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: In instantiation of 'char* QTest::toString(const T&) [with T = Poppler::Page::Orientation]': /usr/include/qt4/QtTest/qtestcase.h:181:41: required from 'bool QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int) [with T = Poppler::Page::Orientation]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_metadata.cpp:122:5: required from here /usr/include/qt4/QtTest/qtestcase.h:125:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 125 | return 0; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Linking CXX executable check_qt4_metadata make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Built target check_qt4_metadata make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Generating check_dateConversion.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_dateConversion make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Building CXX object qt4/tests/CMakeFiles/check_qt4_dateConversion.dir/check_dateConversion.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:6: /usr/include/qt4/QtGui/qcolor.h: At global scope: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:6: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:6: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:10:5: note: in expansion of macro 'Q_OBJECT' 10 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:10:5: note: in expansion of macro 'Q_OBJECT' 10 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp: In function 'int qRegisterMetaType(const char*, T*) [with T = QDate]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:21:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 21 | qRegisterMetaType("QDate"); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp: In function 'int qRegisterMetaType(const char*, T*) [with T = QTime]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:22:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 22 | qRegisterMetaType("QTime"); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp: In function 'void QTest::addColumn(const char*, T*) [with T = QByteArray]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:27:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 27 | QTest::addColumn("input"); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp: In function 'void QTest::addColumn(const char*, T*) [with T = QDate]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:28:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 28 | QTest::addColumn("day"); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp: In function 'void QTest::addColumn(const char*, T*) [with T = QTime]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:29:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 29 | QTest::addColumn("time"); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp: In function 'int qMetaTypeId(T*) [with T = QByteArray]': /usr/include/qt4/QtTest/qtestcase.h:98:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 98 | type name = *static_cast(QTest::qData(#name, ::qMetaTypeId())) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:101:5: note: in expansion of macro 'QFETCH' 101 | QFETCH(QByteArray, input); | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp: In function 'int qMetaTypeId(T*) [with T = QDate]': /usr/include/qt4/QtTest/qtestcase.h:98:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 98 | type name = *static_cast(QTest::qData(#name, ::qMetaTypeId())) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:102:5: note: in expansion of macro 'QFETCH' 102 | QFETCH(QDate, day); | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp: In function 'int qMetaTypeId(T*) [with T = QTime]': /usr/include/qt4/QtTest/qtestcase.h:98:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 98 | type name = *static_cast(QTest::qData(#name, ::qMetaTypeId())) | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:103:5: note: in expansion of macro 'QFETCH' 103 | QFETCH(QTime, time); | ^~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp: In member function 'void TestDateConv::checkDates()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:105:48: warning: 'QDateTime Poppler::convertDate(char*)' is deprecated [-Wdeprecated-declarations] 105 | QCOMPARE( Poppler::convertDate(input.data()), QDateTime(day, time, Qt::UTC) ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:1898:52: note: declared here 1898 | POPPLER_QT4_EXPORT Q_DECL_DEPRECATED QDateTime convertDate( char *dateString ); | ^~~~~~~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:105:48: warning: 'QDateTime Poppler::convertDate(char*)' is deprecated [-Wdeprecated-declarations] 105 | QCOMPARE( Poppler::convertDate(input.data()), QDateTime(day, time, Qt::UTC) ); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:1898:52: note: declared here 1898 | POPPLER_QT4_EXPORT Q_DECL_DEPRECATED QDateTime convertDate( char *dateString ); | ^~~~~~~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp: In member function 'void TestDateConv::checkInvalidDates()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:137:47: warning: 'QDateTime Poppler::convertDate(char*)' is deprecated [-Wdeprecated-declarations] 137 | QCOMPARE(Poppler::convertDate(input.data()), QDateTime()); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:1898:52: note: declared here 1898 | POPPLER_QT4_EXPORT Q_DECL_DEPRECATED QDateTime convertDate( char *dateString ); | ^~~~~~~~~~~ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:137:47: warning: 'QDateTime Poppler::convertDate(char*)' is deprecated [-Wdeprecated-declarations] 137 | QCOMPARE(Poppler::convertDate(input.data()), QDateTime()); | ^ /usr/include/qt4/QtTest/qtestcase.h:81:26: note: in definition of macro 'QCOMPARE' 81 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ | ^~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:1898:52: note: declared here 1898 | POPPLER_QT4_EXPORT Q_DECL_DEPRECATED QDateTime convertDate( char *dateString ); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:142: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_dateConversion.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_dateConversion.moc:65:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_dateConversion.moc: In member function 'virtual void* TestDateConv::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_dateConversion.moc:84:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_dateConversion.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Generating check_permissions.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_permissions make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Linking CXX executable check_qt4_search make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Built target check_qt4_search make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 91%] Linking CXX executable check_qt4_links make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Built target check_qt4_links make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 93%] Generating check_lexer.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Generating check_actualtext.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_actualtext make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt4_lexer make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Linking CXX executable check_qt4_dateConversion make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 93%] Built target check_qt4_dateConversion make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 93%] Generating viewer.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 93%] Generating abstractinfodock.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 94%] Generating embeddedfiles.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 94%] Generating fonts.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Building CXX object qt4/tests/CMakeFiles/check_qt4_permissions.dir/check_permissions.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:3: /usr/include/qt4/QtGui/qcolor.h: At global scope: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:3: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:3: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:43: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_permissions.moc:55:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 55 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_permissions.moc: In member function 'virtual void* TestPermissions::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_permissions.moc:74:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_permissions.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 94%] Generating info.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 93%] Building CXX object qt4/tests/CMakeFiles/check_qt4_actualtext.dir/check_actualtext.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:3: /usr/include/qt4/QtGui/qcolor.h: At global scope: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:3: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:3: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:9:5: note: in expansion of macro 'Q_OBJECT' 9 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:9:5: note: in expansion of macro 'Q_OBJECT' 9 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:32: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_actualtext.moc:55:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 55 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_actualtext.moc: In member function 'virtual void* TestActualText::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_actualtext.moc:74:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_actualtext.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 88%] Building CXX object qt4/tests/CMakeFiles/poppler-qt4-attachments.dir/poppler-attachments.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qeventloop.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:47, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:2: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:2: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:2: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:2: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:2: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:6: /usr/include/qt4/QtCore/qdatetime.h: At global scope: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:6: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:6: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:6: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:6: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/poppler-attachments.cpp:6: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Building CXX object qt4/tests/CMakeFiles/stress-poppler-qt4.dir/stress-poppler-qt4.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, 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/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ 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/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/qtextstream.h:48, from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qfile.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/QDir:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:2: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:3: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:47, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:4: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:4: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtGui/qapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:4: /usr/include/qt4/QtGui/qapplication.h:162:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 162 | static void setPalette(const QPalette &, const char* className = 0); | ^ /usr/include/qt4/QtGui/qapplication.h:166:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 166 | static void setFont(const QFont &, const char* className = 0); | ^ In file included from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/QImage:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:5: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:9: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:9: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:9: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:9: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:9: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:9: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:9: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:9: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:9: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:9: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qdatastream.h:45, from /usr/include/qt4/QtCore/qpair.h:45, from /usr/include/qt4/QtCore/qhash.h:49, from /usr/include/qt4/QtCore/qdebug.h:46, from /usr/include/qt4/QtCore/QDebug:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/stress-poppler-qt4.cpp:1: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 95%] Generating metadata.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 96%] Generating navigationtoolbar.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Generating optcontent.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Generating pageview.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Generating permissions.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Generating thumbnails.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 95%] Linking CXX executable check_qt4_permissions make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Built target check_qt4_permissions make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Generating toc.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target check_qt5_pagelabelinfo make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Building CXX object qt5/tests/CMakeFiles/check_qt5_pagelabelinfo.dir/check_qt5_pagelabelinfo_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 95%] Linking CXX executable check_qt4_actualtext make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Built target check_qt4_actualtext make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 96%] Linking CXX executable poppler-qt4-attachments make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Built target poppler-qt4-attachments make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Scanning dependencies of target poppler_qt4viewer make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 96%] Linking CXX executable stress-poppler-qt4 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Built target stress-poppler-qt4 make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Building CXX object qt4/tests/CMakeFiles/check_qt4_pagelayout.dir/check_pagelayout.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:3: /usr/include/qt4/QtGui/qcolor.h: At global scope: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:3: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:3: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:7:5: note: in expansion of macro 'Q_OBJECT' 7 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:48: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_pagelayout.moc:60:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_pagelayout.moc: In member function 'virtual void* TestPageLayout::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_pagelayout.moc:79:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: In instantiation of 'char* QTest::toString(const T&) [with T = Poppler::Document::PageLayout]': /usr/include/qt4/QtTest/qtestcase.h:181:41: required from 'bool QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int) [with T = Poppler::Document::PageLayout]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_pagelayout.cpp:20:5: required from here /usr/include/qt4/QtTest/qtestcase.h:125:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 125 | return 0; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 98%] Linking CXX executable check_qt4_pagelayout make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 98%] Built target check_qt4_pagelayout make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Building CXX object qt4/tests/CMakeFiles/check_qt4_fonts.dir/check_fonts.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtGui/QColor:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:3: /usr/include/qt4/QtGui/qcolor.h: At global scope: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:3: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:3: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:9:5: note: in expansion of macro 'Q_OBJECT' 9 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:9:5: note: in expansion of macro 'Q_OBJECT' 9 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp: In member function 'void TestFontsData::checkScanForFonts()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:231:45: warning: 'bool Poppler::Document::scanForFonts(int, QList*) const' is deprecated [-Wdeprecated-declarations] 231 | doc->scanForFonts( 1, &listOfFonts2 ); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:1436:25: note: declared here 1436 | Q_DECL_DEPRECATED bool scanForFonts( int numPages, QList *fontList ) const; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:239:45: warning: 'bool Poppler::Document::scanForFonts(int, QList*) const' is deprecated [-Wdeprecated-declarations] 239 | doc->scanForFonts( 1, &listOfFonts3 ); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:3: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/../src/poppler-qt4.h:1436:25: note: declared here 1436 | Q_DECL_DEPRECATED bool scanForFonts( int numPages, QList *fontList ) const; | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:247: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_fonts.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_fonts.moc:72:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_fonts.moc: In member function 'virtual void* TestFontsData::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_fonts.moc:91:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 91 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: In instantiation of 'char* QTest::toString(const T&) [with T = Poppler::FontInfo::Type]': /usr/include/qt4/QtTest/qtestcase.h:181:41: required from 'bool QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int) [with T = Poppler::FontInfo::Type]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:76:5: required from here /usr/include/qt4/QtTest/qtestcase.h:125:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 125 | return 0; | ^ /usr/include/qt4/QtTest/qtestcase.h: In instantiation of 'char* QTest::toString(const T&) [with T = QList]': /usr/include/qt4/QtTest/qtestcase.h:181:41: required from 'bool QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int) [with T = QList]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_fonts.cpp:200:5: required from here /usr/include/qt4/QtTest/qtestcase.h:125:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/embeddedfiles.cpp.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h:72:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:72:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:31:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | AbstractInfoDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:31:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | EmbeddedFilesDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:21: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:21: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:21: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:21: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:21: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qframe.h:68:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:68:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qabstractscrollarea.h:66:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractScrollArea(QWidget* parent=0); | ^ /usr/include/qt4/QtGui/qabstractscrollarea.h:97:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | QAbstractScrollArea(QAbstractScrollAreaPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qvalidator.h:48, from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QValidator(QObject * parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:103:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 103 | explicit QIntValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:104:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | QIntValidator(int bottom, int top, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:144:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 144 | explicit QDoubleValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:145:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 145 | QDoubleValidator(double bottom, double top, int decimals, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:188:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 188 | explicit QRegExpValidator(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:189:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 189 | QRegExpValidator(const QRegExp& rx, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qabstractspinbox.h:79:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QAbstractSpinBox(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractspinbox.h:164:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 164 | QAbstractSpinBox(QAbstractSpinBoxPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qslider.h:45, from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qabstractslider.h:72:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QAbstractSlider(QWidget *parent=0); | ^ /usr/include/qt4/QtGui/qabstractslider.h:173:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 173 | QAbstractSlider(QAbstractSliderPrivate &dd, QWidget *parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qslider.h:84:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QSlider(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qslider.h:85:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 85 | explicit QSlider(Qt::Orientation orientation, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:50, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyle.h:216:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 216 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:287:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 287 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:383:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 383 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:468:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 468 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:470:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 470 | const QPoint &pt, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:472:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 472 | SubControl sc, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:599:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 599 | virtual int pixelMetric(PixelMetric metric, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:600:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 600 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:633:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | const QSize &contentsSize, const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:752:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 752 | virtual int styleHint(StyleHint stylehint, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:753:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:753:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:829:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 829 | virtual QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:830:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 830 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:832:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 832 | QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:833:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 833 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:860:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 860 | QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:861:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 861 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:865:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 865 | const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:866:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 866 | const QWidget *widget = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:51, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qtabbar.h:78:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QTabBar(QWidget* parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:52, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qtabwidget.h:76:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QTabWidget(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:53, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qrubberband.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QRubberBand(Shape, QWidget * =0); | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)': /usr/include/qt4/QtGui/qstyleoption.h:112:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy] 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:112:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)' 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:128:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionFrameV2::FrameFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:134:20: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 134 | class Q_GUI_EXPORT QStyleOptionFrameV2 : public QStyleOptionFrame | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: note: synthesized method 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' first required here 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: warning: implicitly-declared 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' is deprecated [-Wdeprecated-copy] 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:165:5: note: because 'QStyleOptionFrameV3' has user-provided 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)' 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:157:20: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 157 | class Q_GUI_EXPORT QStyleOptionFrameV3 : public QStyleOptionFrameV2 | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: note: synthesized method 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' first required here 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:190:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 190 | : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: warning: implicitly-declared 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' is deprecated [-Wdeprecated-copy] 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:205:5: note: because 'QStyleOptionTabWidgetFrameV2' has user-provided 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)' 205 | QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2 &other) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:196:20: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 196 | class Q_GUI_EXPORT QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetFrame | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: note: synthesized method 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' first required here 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)': /usr/include/qt4/QtGui/qstyleoption.h:229:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: warning: implicitly-declared 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' is deprecated [-Wdeprecated-copy] 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:241:5: note: because 'QStyleOptionTabBarBaseV2' has user-provided 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)' 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:235:20: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 235 | class Q_GUI_EXPORT QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBase | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: note: synthesized method 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' first required here 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::AlignmentFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)': /usr/include/qt4/QtGui/qstyleoption.h:273:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy] 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:273:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)' 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionButton::ButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)': /usr/include/qt4/QtGui/qstyleoption.h:295:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy] 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:295:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)' 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionTab::CornerWidget; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)': /usr/include/qt4/QtGui/qstyleoption.h:325:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:333:20: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 333 | class Q_GUI_EXPORT QStyleOptionTabV2 : public QStyleOptionTab | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: note: synthesized method 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' first required here 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: warning: implicitly-declared 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' is deprecated [-Wdeprecated-copy] 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:355:5: note: because 'QStyleOptionTabV3' has user-provided 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)' 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:347:20: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 347 | class Q_GUI_EXPORT QStyleOptionTabV3 : public QStyleOptionTabV2 | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: note: synthesized method 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' first required here 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolBar::ToolBarFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)': /usr/include/qt4/QtGui/qstyleoption.h:384:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy] 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:384:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)' 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)': /usr/include/qt4/QtGui/qstyleoption.h:410:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy] 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:410:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)' 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)': /usr/include/qt4/QtGui/qstyleoption.h:457:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy] 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:457:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)' 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionQ3ListViewItem::Q3ListViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:480:113: warning: implicitly-declared 'QStyleOptionQ3ListViewItem& QStyleOptionQ3ListViewItem::operator=(const QStyleOptionQ3ListViewItem&)' is deprecated [-Wdeprecated-copy] 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:480:5: note: because 'QStyleOptionQ3ListViewItem' has user-provided 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)' 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)': /usr/include/qt4/QtGui/qstyleoption.h:498:109: warning: implicitly-declared 'QStyleOptionQ3DockWindow& QStyleOptionQ3DockWindow::operator=(const QStyleOptionQ3DockWindow&)' is deprecated [-Wdeprecated-copy] 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:498:5: note: because 'QStyleOptionQ3DockWindow' has user-provided 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)' 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)': /usr/include/qt4/QtGui/qstyleoption.h:516:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: warning: implicitly-declared 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' is deprecated [-Wdeprecated-copy] 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:530:5: note: because 'QStyleOptionDockWidgetV2' has user-provided 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)' 530 | QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2 &other) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:522:20: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 522 | class Q_GUI_EXPORT QStyleOptionDockWidgetV2 : public QStyleOptionDockWidget | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: note: synthesized method 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' first required here 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:556:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionViewItemV2::ViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:562:20: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 562 | class Q_GUI_EXPORT QStyleOptionViewItemV2 : public QStyleOptionViewItem | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: note: synthesized method 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' first required here 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:590:20: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 590 | class Q_GUI_EXPORT QStyleOptionViewItemV3 : public QStyleOptionViewItemV2 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: note: synthesized method 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' first required here 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: warning: implicitly-declared 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' is deprecated [-Wdeprecated-copy] 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:623:5: note: because 'QStyleOptionViewItemV4' has user-provided 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)' 623 | QStyleOptionViewItemV4(const QStyleOptionViewItemV4 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: note: synthesized method 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' first required here 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)': /usr/include/qt4/QtGui/qstyleoption.h:643:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: warning: implicitly-declared 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' is deprecated [-Wdeprecated-copy] 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:660:5: note: because 'QStyleOptionToolBoxV2' has user-provided 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)' 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:649:20: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 649 | class Q_GUI_EXPORT QStyleOptionToolBoxV2 : public QStyleOptionToolBox | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: note: synthesized method 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' first required here 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)': /usr/include/qt4/QtGui/qstyleoption.h:679:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy] 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:679:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)' 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyle::SubControl; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)': /usr/include/qt4/QtGui/qstyleoption.h:697:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy] 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:721:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)' 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:701:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 701 | class Q_GUI_EXPORT QStyleOptionSlider : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QAbstractSpinBox::StepEnabledFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy] 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:740:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)' 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:729:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 729 | class Q_GUI_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: warning: implicitly-declared 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' is deprecated [-Wdeprecated-copy] 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:762:5: note: because 'QStyleOptionQ3ListView' has user-provided 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)' 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:747:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 747 | class Q_GUI_EXPORT QStyleOptionQ3ListView : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: note: synthesized method 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' first required here 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolButton::ToolButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy] 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:788:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)' 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:768:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 768 | class Q_GUI_EXPORT QStyleOptionToolButton : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy] 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:810:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)' 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:796:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 796 | class Q_GUI_EXPORT QStyleOptionComboBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy] 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:828:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)' 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:816:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 816 | class Q_GUI_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy] 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:848:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)' 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:834:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 834 | class Q_GUI_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy] 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:862:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)' 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:853:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 853 | class Q_GUI_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': /usr/include/qt4/QtGui/qstyleoption.h:878:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy] 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:878:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)' 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtGui/qabstractitemdelegate.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qabstractitemdelegate.h:76:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QAbstractItemDelegate(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemdelegate.h:123:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QAbstractItemDelegate(QObjectPrivate &, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qabstractitemview.h:126:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | explicit QAbstractItemView(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:270:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | QAbstractItemView(QAbstractItemViewPrivate &, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:295:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 295 | const QEvent *event = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtableview.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtableview.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qtableview.h:68:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QTableView(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtablewidget.h:222:5: note: in expansion of macro 'Q_OBJECT' 222 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtablewidget.h:222:5: note: in expansion of macro 'Q_OBJECT' 222 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:23: /usr/include/qt4/QtGui/qtablewidget.h:228:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 228 | explicit QTableWidget(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qtablewidget.h:229:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 229 | QTableWidget(int rows, int columns, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qtablewidget.h: In member function 'void QTableWidget::removeCellWidget(int, int)': /usr/include/qt4/QtGui/qtablewidget.h:354:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 354 | { setCellWidget(arow, acolumn, 0); } | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:82: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/embeddedfiles.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/embeddedfiles.moc:48:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 48 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/embeddedfiles.moc: In member function 'virtual void* EmbeddedFilesDock::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/embeddedfiles.moc:67:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.cpp:19: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 98%] Linking CXX executable check_qt4_fonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 99%] Built target check_qt4_fonts make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 98%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/abstractinfodock.cpp.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h:72:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:72:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:31:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | AbstractInfoDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:31:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | FontsDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h: In constructor 'AbstractInfoDock::AbstractInfoDock(QWidget*)': /usr/include/qt4/QtGui/qdockwidget.h:73:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:57: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/abstractinfodock.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/abstractinfodock.moc:56:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 56 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/abstractinfodock.moc: In member function 'virtual void* AbstractInfoDock::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/abstractinfodock.moc:75:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.cpp:19: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 93%] Building CXX object qt4/tests/CMakeFiles/check_qt4_lexer.dir/check_lexer.cpp.o In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:13, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qlocale.h:45, from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:21, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qlocale.h: At global scope: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/QtCore:40, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qtextboundaryfinder.h:80:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = 0, int bufferSize = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimeline.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:41, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qtimeline.h:84:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QTimeLine(int duration = 1000, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:49, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qthread.h:67:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | explicit QThread(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qthread.h:126:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | QThread(QThreadPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthread.h:129:5: note: in expansion of macro 'Q_OBJECT' 129 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractstate.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:52, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qabstractstate.h:76:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | QAbstractState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracttransition.h:69:5: note: in expansion of macro 'Q_OBJECT' 69 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:53, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qabstracttransition.h:74:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QAbstractTransition(QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventtransition.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:54, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qeventtransition.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QEventTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qeventtransition.h:64:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfinalstate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:55, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qfinalstate.h:60:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | QFinalState(QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qhistorystate.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:56, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qhistorystate.h:68:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QHistoryState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qhistorystate.h:69:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | QHistoryState(HistoryType type, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignaltransition.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:57, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qsignaltransition.h:62:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QSignalTransition(QState *sourceState = 0); | ^ /usr/include/qt4/QtCore/qsignaltransition.h:64:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QState *sourceState = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstate.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:58, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qstate.h:74:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | QState(QState *parent = 0); | ^ /usr/include/qt4/QtCore/qstate.h:75:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | QState(ChildMode childMode, QState *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qstatemachine.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:59, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qstatemachine.h:123:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QStateMachine(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qfactoryinterface.h:61:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 61 | Q_DECLARE_INTERFACE(QFactoryInterface, "com.trolltech.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qlibrary.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qlibrary.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:61, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qlibrary.h:77:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | explicit QLibrary(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:78:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QLibrary(const QString& fileName, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:79:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qlibrary.h:80:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpluginloader.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:63, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qpluginloader.h:68:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QPluginLoader(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpluginloader.h:69:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QPluginLoader(const QString &fileName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstracteventdispatcher.h:46, from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:65, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qabstracteventdispatcher.h:66:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractEventDispatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstracteventdispatcher.h:69:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | static QAbstractEventDispatcher *instance(QThread *thread = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:66, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:68, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtCore/QtCore:72, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:80:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 80 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:92:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:108:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h:123:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt4/QtCore/qmetaobject.h:59:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 59 | inline QMetaMethod() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt4/QtCore/qmetaobject.h:150:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline QMetaEnum() : mobj(0),handle(0) {} | ^ /usr/include/qt4/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt4/QtCore/qmetaobject.h:168:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | inline bool isValid() const { return name() != 0; } | ^ /usr/include/qt4/QtCore/qmetaobject.h: At global scope: /usr/include/qt4/QtCore/qmetaobject.h:190:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 190 | bool isDesignable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:191:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | bool isScriptable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:192:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 192 | bool isStored(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:193:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 193 | bool isEditable(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h:194:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 194 | bool isUser(const QObject *obj = 0) const; | ^ /usr/include/qt4/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt4/QtCore/qmetaobject.h:227:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 227 | inline QMetaClassInfo() : mobj(0),handle(0) {} | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qmimedata.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qmimedata.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobjectcleanuphandler.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsharedmemory.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:79, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qsharedmemory.h:82:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | QSharedMemory(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsharedmemory.h:83:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | QSharedMemory(const QString &key, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsignalmapper.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:80, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qsignalmapper.h:61:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QSignalMapper(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsocketnotifier.h:55:5: note: in expansion of macro 'Q_OBJECT' 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:81, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qsocketnotifier.h:61:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QSocketNotifier(int socket, Type, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtimer.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:83, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qtimer.h:63:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTimer(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtranslator.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:84, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qtranslator.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | explicit QTranslator(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qtranslator.h:71:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 71 | const char *disambiguation = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/qabstractfileengine.h:45, from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:86, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qabstractfileengine.h:185:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qabstractfileengine.h:185:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qbuffer.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:87, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qbuffer.h:65:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QBuffer(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qbuffer.h:66:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | QBuffer(QByteArray *buf, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qdebug.h:50, from /usr/include/qt4/QtCore/QtCore:89, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt4/QtCore/qtextstream.h:277:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 277 | QTextStreamManipulator(QTSMFI m, int a) { mf = m; mc = 0; arg = a; } | ^ /usr/include/qt4/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt4/QtCore/qtextstream.h:278:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 278 | QTextStreamManipulator(QTSMFC m, QChar c) { mf = 0; mc = m; ch = c; arg = -1; } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfilesystemwatcher.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:94, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qfilesystemwatcher.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QFileSystemWatcher(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfilesystemwatcher.h:64:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QFileSystemWatcher(const QStringList &paths, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QtCore:95, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qfsfileengine.h:104:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ /usr/include/qt4/QtCore/qfsfileengine.h:104:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qprocess.h:104:5: note: in expansion of macro 'Q_OBJECT' 104 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:97, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qprocess.h:133:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QProcess(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qprocess.h:197:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | qint64 *pid = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsettings.h:79:5: note: in expansion of macro 'Q_OBJECT' 79 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:99, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qsettings.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:129:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:131:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | const QString &application = QString(), QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:132:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | QSettings(const QString &fileName, Format format, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qsettings.h:133:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | explicit QSettings(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtemporaryfile.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In constructor 'QtConcurrent::ResultItem::ResultItem()': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:74:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | ResultItem() : m_count(0), result(0) { } | ^ /usr/include/qt4/QtCore/qtconcurrentresultstore.h: In member function 'bool QtConcurrent::ResultItem::isValid() const': /usr/include/qt4/QtCore/qtconcurrentresultstore.h:75:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | bool isValid() const { return result != 0; } | ^ In file included from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:109, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qfutureinterface.h: At global scope: /usr/include/qt4/QtCore/qfutureinterface.h:305:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); } | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfuturewatcher.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:112, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qfuturewatcher.h:68:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QFutureWatcherBase(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qfuturewatcher.h:196:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 196 | QFutureWatcher(QObject *_parent = 0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qthreadpool.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:49, from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qthreadpool.h:68:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | QThreadPool(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h: In member function 'void* QtConcurrent::ResultReporter::getPointer()': /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:150:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline void * getPointer() { return 0; } | ^ In file included from /usr/include/qt4/QtCore/QtCore:130, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qtextcodec.h: At global scope: /usr/include/qt4/QtCore/qtextcodec.h:115:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 115 | QString toUnicode(const char *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h:117:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 117 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = 0) const | ^ /usr/include/qt4/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt4/QtCore/qtextcodec.h:104:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | : flags(f), remainingChars(0), invalidChars(0), d(0) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForTr()': /usr/include/qt4/QtCore/qtextcodec.h:155:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 155 | inline QTextCodec* QTextCodec::codecForTr() { return validCodecs() ? cftr : 0; } | ^ /usr/include/qt4/QtCore/qtextcodec.h: In static member function 'static QTextCodec* QTextCodec::codecForCStrings()': /usr/include/qt4/QtCore/qtextcodec.h:157:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 157 | inline QTextCodec* QTextCodec::codecForCStrings() { return validCodecs() ? QString::codecForCStrings : 0; } | ^ In file included from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:401:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 401 | { return reinterpret_cast((object ? object->qt_metacast(IId) : 0)); } \ | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h: In function 'T qobject_cast(const QObject*) [with T = QTextCodecFactoryInterface*]': /usr/include/qt4/QtCore/qobject.h:403:100: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 403 | { return reinterpret_cast((object ? const_cast(object)->qt_metacast(IId) : 0)); } | ^ /usr/include/qt4/QtCore/qtextcodecplugin.h:67:1: note: in expansion of macro 'Q_DECLARE_INTERFACE' 67 | Q_DECLARE_INTERFACE(QTextCodecFactoryInterface, QTextCodecFactoryInterface_iid) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qtextcodecplugin.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:131, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qtextcodecplugin.h:75:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | explicit QTextCodecPlugin(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | QAbstractAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:124:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractanimation.h:139:5: note: in expansion of macro 'Q_OBJECT' 139 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:132, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qabstractanimation.h:143:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | QAnimationDriver(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractanimation.h:154:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:133, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qanimationgroup.h:61:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qparallelanimationgroup.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:134, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qparallelanimationgroup.h:61:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | QParallelAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpauseanimation.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:135, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qpauseanimation.h:62:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 62 | QPauseAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpauseanimation.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPauseAnimation(int msecs, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qvariantanimation.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qpropertyanimation.h:45, from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qvariantanimation.h:73:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | QVariantAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qvariantanimation.h:102:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 102 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qpropertyanimation.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:136, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qpropertyanimation.h:63:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | QPropertyAnimation(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qpropertyanimation.h:64:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qsequentialanimationgroup.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QtCore:137, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qsequentialanimationgroup.h:64:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | QSequentialAnimationGroup(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtTest/QtTest:6, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtTest/qsignalspy.h: In constructor 'QSignalSpy::QSignalSpy(QObject*, const char*)': /usr/include/qt4/QtTest/qsignalspy.h:88:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 88 | Qt::DirectConnection, 0)) { | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: At global scope: /usr/include/qt4/QtTest/qtestcase.h:133:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 133 | Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0); | ^ In file included from /usr/include/qt4/QtTest/qtest.h:47, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtTest/qtestdata.h:72:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ /usr/include/qt4/QtTest/qtestdata.h:72:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QTestData(const char *tag = 0, QTestTable *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtTest/qtesteventloop.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtTest/QtTest:16, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtTest/qtesteventloop.h:63:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QTestEventLoop(QObject *aParent = 0) | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In constructor 'QTestEventLoop::QTestEventLoop(QObject*)': /usr/include/qt4/QtTest/qtesteventloop.h:64:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | : QObject(aParent), inLoop(false), _timeout(false), timerId(-1), loop(0) {} | ^ /usr/include/qt4/QtTest/qtesteventloop.h: In member function 'void QTestEventLoop::enterLoop(int)': /usr/include/qt4/QtTest/qtesteventloop.h:109:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | loop = 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qxmlstream.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:8:5: note: in expansion of macro 'Q_OBJECT' 8 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:8:5: note: in expansion of macro 'Q_OBJECT' 8 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:106: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_lexer.moc:55:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 55 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_lexer.moc: In member function 'virtual void* TestLexer::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/tests/check_lexer.moc:74:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qplugin.h:46, from /usr/include/qt4/QtCore/QtCore:62, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qpointer.h: In instantiation of 'QPointer::QPointer() [with T = QTestEventLoop]': /usr/include/qt4/QtTest/qtesteventloop.h:76:41: required from here /usr/include/qt4/QtCore/qpointer.h:58:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | inline QPointer() : o(0) {} | ^ In file included from /usr/include/qt4/QtCore/qtconcurrentiteratekernel.h:51, from /usr/include/qt4/QtCore/qtconcurrentfilterkernel.h:49, from /usr/include/qt4/QtCore/qtconcurrentfilter.h:49, from /usr/include/qt4/QtCore/QtCore:116, from /usr/include/qt4/QtTest/QtTest:3, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtCore/qtconcurrentthreadengine.h: In instantiation of 'T* QtConcurrent::ThreadEngine::result() [with T = void]': /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:163:16: required from 'T* QtConcurrent::ThreadEngine::startBlocking() [with T = void]' /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:265:43: required from here /usr/include/qt4/QtCore/qtconcurrentthreadengine.h:143:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 143 | virtual T *result() { return 0; } | ^ In file included from /usr/include/qt4/QtTest/qtest.h:46, from /usr/include/qt4/QtTest/QtTest:7, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:1: /usr/include/qt4/QtTest/qtestcase.h: In instantiation of 'char* QTest::toString(const T&) [with T = ObjType]': /usr/include/qt4/QtTest/qtestcase.h:181:41: required from 'bool QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int) [with T = ObjType]' /usr/src/RPM/BUILD/poppler-0.86.1/qt4/tests/check_lexer.cpp:23:5: required from here /usr/include/qt4/QtTest/qtestcase.h:125:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 125 | return 0; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 99%] Linking CXX executable check_qt4_lexer make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/fonts.cpp.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h:72:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:72:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:31:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | AbstractInfoDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:31:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | FontsDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:21: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:21: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:21: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:21: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:21: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qframe.h:68:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:68:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qabstractscrollarea.h:66:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractScrollArea(QWidget* parent=0); | ^ /usr/include/qt4/QtGui/qabstractscrollarea.h:97:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | QAbstractScrollArea(QAbstractScrollAreaPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qvalidator.h:48, from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QValidator(QObject * parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:103:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 103 | explicit QIntValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:104:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | QIntValidator(int bottom, int top, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:144:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 144 | explicit QDoubleValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:145:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 145 | QDoubleValidator(double bottom, double top, int decimals, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:188:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 188 | explicit QRegExpValidator(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:189:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 189 | QRegExpValidator(const QRegExp& rx, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qabstractspinbox.h:79:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QAbstractSpinBox(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractspinbox.h:164:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 164 | QAbstractSpinBox(QAbstractSpinBoxPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qslider.h:45, from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qabstractslider.h:72:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QAbstractSlider(QWidget *parent=0); | ^ /usr/include/qt4/QtGui/qabstractslider.h:173:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 173 | QAbstractSlider(QAbstractSliderPrivate &dd, QWidget *parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qslider.h:84:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QSlider(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qslider.h:85:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 85 | explicit QSlider(Qt::Orientation orientation, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:50, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyle.h:216:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 216 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:287:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 287 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:383:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 383 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:468:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 468 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:470:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 470 | const QPoint &pt, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:472:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 472 | SubControl sc, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:599:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 599 | virtual int pixelMetric(PixelMetric metric, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:600:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 600 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:633:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | const QSize &contentsSize, const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:752:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 752 | virtual int styleHint(StyleHint stylehint, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:753:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:753:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:829:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 829 | virtual QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:830:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 830 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:832:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 832 | QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:833:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 833 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:860:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 860 | QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:861:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 861 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:865:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 865 | const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:866:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 866 | const QWidget *widget = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:51, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qtabbar.h:78:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QTabBar(QWidget* parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:52, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qtabwidget.h:76:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QTabWidget(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:53, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qrubberband.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QRubberBand(Shape, QWidget * =0); | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)': /usr/include/qt4/QtGui/qstyleoption.h:112:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy] 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:112:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)' 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:128:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionFrameV2::FrameFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:134:20: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 134 | class Q_GUI_EXPORT QStyleOptionFrameV2 : public QStyleOptionFrame | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: note: synthesized method 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' first required here 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: warning: implicitly-declared 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' is deprecated [-Wdeprecated-copy] 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:165:5: note: because 'QStyleOptionFrameV3' has user-provided 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)' 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:157:20: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 157 | class Q_GUI_EXPORT QStyleOptionFrameV3 : public QStyleOptionFrameV2 | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: note: synthesized method 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' first required here 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:190:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 190 | : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: warning: implicitly-declared 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' is deprecated [-Wdeprecated-copy] 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:205:5: note: because 'QStyleOptionTabWidgetFrameV2' has user-provided 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)' 205 | QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2 &other) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:196:20: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 196 | class Q_GUI_EXPORT QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetFrame | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: note: synthesized method 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' first required here 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)': /usr/include/qt4/QtGui/qstyleoption.h:229:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: warning: implicitly-declared 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' is deprecated [-Wdeprecated-copy] 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:241:5: note: because 'QStyleOptionTabBarBaseV2' has user-provided 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)' 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:235:20: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 235 | class Q_GUI_EXPORT QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBase | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: note: synthesized method 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' first required here 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::AlignmentFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)': /usr/include/qt4/QtGui/qstyleoption.h:273:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy] 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:273:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)' 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionButton::ButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)': /usr/include/qt4/QtGui/qstyleoption.h:295:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy] 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:295:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)' 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionTab::CornerWidget; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)': /usr/include/qt4/QtGui/qstyleoption.h:325:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:333:20: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 333 | class Q_GUI_EXPORT QStyleOptionTabV2 : public QStyleOptionTab | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: note: synthesized method 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' first required here 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: warning: implicitly-declared 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' is deprecated [-Wdeprecated-copy] 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:355:5: note: because 'QStyleOptionTabV3' has user-provided 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)' 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:347:20: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 347 | class Q_GUI_EXPORT QStyleOptionTabV3 : public QStyleOptionTabV2 | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: note: synthesized method 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' first required here 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolBar::ToolBarFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)': /usr/include/qt4/QtGui/qstyleoption.h:384:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy] 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:384:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)' 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)': /usr/include/qt4/QtGui/qstyleoption.h:410:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy] 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:410:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)' 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)': /usr/include/qt4/QtGui/qstyleoption.h:457:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy] 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:457:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)' 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionQ3ListViewItem::Q3ListViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:480:113: warning: implicitly-declared 'QStyleOptionQ3ListViewItem& QStyleOptionQ3ListViewItem::operator=(const QStyleOptionQ3ListViewItem&)' is deprecated [-Wdeprecated-copy] 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:480:5: note: because 'QStyleOptionQ3ListViewItem' has user-provided 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)' 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)': /usr/include/qt4/QtGui/qstyleoption.h:498:109: warning: implicitly-declared 'QStyleOptionQ3DockWindow& QStyleOptionQ3DockWindow::operator=(const QStyleOptionQ3DockWindow&)' is deprecated [-Wdeprecated-copy] 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:498:5: note: because 'QStyleOptionQ3DockWindow' has user-provided 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)' 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)': /usr/include/qt4/QtGui/qstyleoption.h:516:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: warning: implicitly-declared 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' is deprecated [-Wdeprecated-copy] 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:530:5: note: because 'QStyleOptionDockWidgetV2' has user-provided 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)' 530 | QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2 &other) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:522:20: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 522 | class Q_GUI_EXPORT QStyleOptionDockWidgetV2 : public QStyleOptionDockWidget | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: note: synthesized method 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' first required here 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:556:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionViewItemV2::ViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:562:20: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 562 | class Q_GUI_EXPORT QStyleOptionViewItemV2 : public QStyleOptionViewItem | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: note: synthesized method 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' first required here 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:590:20: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 590 | class Q_GUI_EXPORT QStyleOptionViewItemV3 : public QStyleOptionViewItemV2 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: note: synthesized method 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' first required here 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: warning: implicitly-declared 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' is deprecated [-Wdeprecated-copy] 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:623:5: note: because 'QStyleOptionViewItemV4' has user-provided 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)' 623 | QStyleOptionViewItemV4(const QStyleOptionViewItemV4 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: note: synthesized method 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' first required here 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)': /usr/include/qt4/QtGui/qstyleoption.h:643:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: warning: implicitly-declared 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' is deprecated [-Wdeprecated-copy] 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:660:5: note: because 'QStyleOptionToolBoxV2' has user-provided 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)' 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:649:20: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 649 | class Q_GUI_EXPORT QStyleOptionToolBoxV2 : public QStyleOptionToolBox | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: note: synthesized method 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' first required here 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)': /usr/include/qt4/QtGui/qstyleoption.h:679:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy] 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:679:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)' 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyle::SubControl; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)': /usr/include/qt4/QtGui/qstyleoption.h:697:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy] 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:721:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)' 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:701:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 701 | class Q_GUI_EXPORT QStyleOptionSlider : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QAbstractSpinBox::StepEnabledFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy] 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:740:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)' 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:729:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 729 | class Q_GUI_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: warning: implicitly-declared 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' is deprecated [-Wdeprecated-copy] 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:762:5: note: because 'QStyleOptionQ3ListView' has user-provided 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)' 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:747:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 747 | class Q_GUI_EXPORT QStyleOptionQ3ListView : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: note: synthesized method 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' first required here 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolButton::ToolButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy] 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:788:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)' 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:768:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 768 | class Q_GUI_EXPORT QStyleOptionToolButton : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy] 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:810:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)' 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:796:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 796 | class Q_GUI_EXPORT QStyleOptionComboBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy] 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:828:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)' 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:816:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 816 | class Q_GUI_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy] 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:848:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)' 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:834:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 834 | class Q_GUI_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy] 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:862:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)' 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:853:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 853 | class Q_GUI_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': /usr/include/qt4/QtGui/qstyleoption.h:878:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy] 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:878:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)' 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtGui/qabstractitemdelegate.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qabstractitemdelegate.h:76:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QAbstractItemDelegate(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemdelegate.h:123:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QAbstractItemDelegate(QObjectPrivate &, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qabstractitemview.h:126:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | explicit QAbstractItemView(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:270:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | QAbstractItemView(QAbstractItemViewPrivate &, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:295:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 295 | const QEvent *event = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtableview.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtableview.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qtableview.h:68:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QTableView(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtablewidget.h:222:5: note: in expansion of macro 'Q_OBJECT' 222 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtablewidget.h:222:5: note: in expansion of macro 'Q_OBJECT' 222 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:23: /usr/include/qt4/QtGui/qtablewidget.h:228:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 228 | explicit QTableWidget(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qtablewidget.h:229:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 229 | QTableWidget(int rows, int columns, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qtablewidget.h: In member function 'void QTableWidget::removeCellWidget(int, int)': /usr/include/qt4/QtGui/qtablewidget.h:354:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 354 | { setCellWidget(arow, acolumn, 0); } | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:72: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/fonts.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/fonts.moc:48:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 48 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/fonts.moc: In member function 'virtual void* FontsDock::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/fonts.moc:67:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.cpp:19: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 99%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/main_viewer.cpp.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qtabwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qmainwindow.h:46, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qtabwidget.h:76:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QTabWidget(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qmainwindow.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qmainwindow.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qmainwindow.h:96:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 96 | explicit QMainWindow(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qmainwindow.h:96:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 96 | explicit QMainWindow(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:34:5: note: in expansion of macro 'Q_OBJECT' 34 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:34:5: note: in expansion of macro 'Q_OBJECT' 34 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:47, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:21: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:21: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtGui/qapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:21: /usr/include/qt4/QtGui/qapplication.h:162:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 162 | static void setPalette(const QPalette &, const char* className = 0); | ^ /usr/include/qt4/QtGui/qapplication.h:166:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 166 | static void setFont(const QFont &, const char* className = 0); | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/main_viewer.cpp:19: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 99%] Built target check_qt4_lexer make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 98%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/info.cpp.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h:72:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:72:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:31:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | AbstractInfoDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:31:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | InfoDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:21: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:21: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:21: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:21: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:21: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qframe.h:68:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:68:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qabstractscrollarea.h:66:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractScrollArea(QWidget* parent=0); | ^ /usr/include/qt4/QtGui/qabstractscrollarea.h:97:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | QAbstractScrollArea(QAbstractScrollAreaPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qvalidator.h:48, from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QValidator(QObject * parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:103:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 103 | explicit QIntValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:104:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | QIntValidator(int bottom, int top, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:144:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 144 | explicit QDoubleValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:145:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 145 | QDoubleValidator(double bottom, double top, int decimals, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:188:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 188 | explicit QRegExpValidator(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:189:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 189 | QRegExpValidator(const QRegExp& rx, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qabstractspinbox.h:79:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QAbstractSpinBox(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractspinbox.h:164:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 164 | QAbstractSpinBox(QAbstractSpinBoxPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qslider.h:45, from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qabstractslider.h:72:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QAbstractSlider(QWidget *parent=0); | ^ /usr/include/qt4/QtGui/qabstractslider.h:173:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 173 | QAbstractSlider(QAbstractSliderPrivate &dd, QWidget *parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qslider.h:84:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QSlider(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qslider.h:85:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 85 | explicit QSlider(Qt::Orientation orientation, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:50, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyle.h:216:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 216 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:287:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 287 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:383:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 383 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:468:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 468 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:470:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 470 | const QPoint &pt, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:472:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 472 | SubControl sc, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:599:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 599 | virtual int pixelMetric(PixelMetric metric, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:600:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 600 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:633:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | const QSize &contentsSize, const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:752:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 752 | virtual int styleHint(StyleHint stylehint, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:753:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:753:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:829:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 829 | virtual QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:830:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 830 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:832:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 832 | QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:833:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 833 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:860:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 860 | QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:861:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 861 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:865:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 865 | const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:866:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 866 | const QWidget *widget = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:51, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qtabbar.h:78:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QTabBar(QWidget* parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:52, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qtabwidget.h:76:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QTabWidget(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:53, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qrubberband.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QRubberBand(Shape, QWidget * =0); | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)': /usr/include/qt4/QtGui/qstyleoption.h:112:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy] 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:112:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)' 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:128:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionFrameV2::FrameFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:134:20: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 134 | class Q_GUI_EXPORT QStyleOptionFrameV2 : public QStyleOptionFrame | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: note: synthesized method 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' first required here 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: warning: implicitly-declared 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' is deprecated [-Wdeprecated-copy] 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:165:5: note: because 'QStyleOptionFrameV3' has user-provided 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)' 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:157:20: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 157 | class Q_GUI_EXPORT QStyleOptionFrameV3 : public QStyleOptionFrameV2 | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: note: synthesized method 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' first required here 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:190:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 190 | : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: warning: implicitly-declared 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' is deprecated [-Wdeprecated-copy] 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:205:5: note: because 'QStyleOptionTabWidgetFrameV2' has user-provided 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)' 205 | QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2 &other) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:196:20: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 196 | class Q_GUI_EXPORT QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetFrame | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: note: synthesized method 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' first required here 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)': /usr/include/qt4/QtGui/qstyleoption.h:229:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: warning: implicitly-declared 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' is deprecated [-Wdeprecated-copy] 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:241:5: note: because 'QStyleOptionTabBarBaseV2' has user-provided 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)' 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:235:20: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 235 | class Q_GUI_EXPORT QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBase | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: note: synthesized method 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' first required here 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::AlignmentFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)': /usr/include/qt4/QtGui/qstyleoption.h:273:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy] 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:273:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)' 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionButton::ButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)': /usr/include/qt4/QtGui/qstyleoption.h:295:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy] 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:295:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)' 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionTab::CornerWidget; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)': /usr/include/qt4/QtGui/qstyleoption.h:325:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:333:20: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 333 | class Q_GUI_EXPORT QStyleOptionTabV2 : public QStyleOptionTab | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: note: synthesized method 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' first required here 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: warning: implicitly-declared 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' is deprecated [-Wdeprecated-copy] 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:355:5: note: because 'QStyleOptionTabV3' has user-provided 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)' 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:347:20: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 347 | class Q_GUI_EXPORT QStyleOptionTabV3 : public QStyleOptionTabV2 | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: note: synthesized method 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' first required here 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolBar::ToolBarFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)': /usr/include/qt4/QtGui/qstyleoption.h:384:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy] 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:384:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)' 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)': /usr/include/qt4/QtGui/qstyleoption.h:410:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy] 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:410:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)' 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)': /usr/include/qt4/QtGui/qstyleoption.h:457:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy] 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:457:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)' 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionQ3ListViewItem::Q3ListViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:480:113: warning: implicitly-declared 'QStyleOptionQ3ListViewItem& QStyleOptionQ3ListViewItem::operator=(const QStyleOptionQ3ListViewItem&)' is deprecated [-Wdeprecated-copy] 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:480:5: note: because 'QStyleOptionQ3ListViewItem' has user-provided 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)' 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)': /usr/include/qt4/QtGui/qstyleoption.h:498:109: warning: implicitly-declared 'QStyleOptionQ3DockWindow& QStyleOptionQ3DockWindow::operator=(const QStyleOptionQ3DockWindow&)' is deprecated [-Wdeprecated-copy] 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:498:5: note: because 'QStyleOptionQ3DockWindow' has user-provided 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)' 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)': /usr/include/qt4/QtGui/qstyleoption.h:516:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: warning: implicitly-declared 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' is deprecated [-Wdeprecated-copy] 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:530:5: note: because 'QStyleOptionDockWidgetV2' has user-provided 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)' 530 | QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2 &other) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:522:20: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 522 | class Q_GUI_EXPORT QStyleOptionDockWidgetV2 : public QStyleOptionDockWidget | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: note: synthesized method 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' first required here 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:556:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionViewItemV2::ViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:562:20: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 562 | class Q_GUI_EXPORT QStyleOptionViewItemV2 : public QStyleOptionViewItem | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: note: synthesized method 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' first required here 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:590:20: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 590 | class Q_GUI_EXPORT QStyleOptionViewItemV3 : public QStyleOptionViewItemV2 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: note: synthesized method 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' first required here 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: warning: implicitly-declared 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' is deprecated [-Wdeprecated-copy] 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:623:5: note: because 'QStyleOptionViewItemV4' has user-provided 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)' 623 | QStyleOptionViewItemV4(const QStyleOptionViewItemV4 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: note: synthesized method 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' first required here 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)': /usr/include/qt4/QtGui/qstyleoption.h:643:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: warning: implicitly-declared 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' is deprecated [-Wdeprecated-copy] 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:660:5: note: because 'QStyleOptionToolBoxV2' has user-provided 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)' 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:649:20: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 649 | class Q_GUI_EXPORT QStyleOptionToolBoxV2 : public QStyleOptionToolBox | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: note: synthesized method 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' first required here 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)': /usr/include/qt4/QtGui/qstyleoption.h:679:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy] 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:679:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)' 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyle::SubControl; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)': /usr/include/qt4/QtGui/qstyleoption.h:697:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy] 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:721:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)' 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:701:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 701 | class Q_GUI_EXPORT QStyleOptionSlider : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QAbstractSpinBox::StepEnabledFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy] 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:740:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)' 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:729:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 729 | class Q_GUI_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: warning: implicitly-declared 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' is deprecated [-Wdeprecated-copy] 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:762:5: note: because 'QStyleOptionQ3ListView' has user-provided 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)' 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:747:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 747 | class Q_GUI_EXPORT QStyleOptionQ3ListView : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: note: synthesized method 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' first required here 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolButton::ToolButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy] 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:788:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)' 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:768:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 768 | class Q_GUI_EXPORT QStyleOptionToolButton : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy] 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:810:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)' 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:796:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 796 | class Q_GUI_EXPORT QStyleOptionComboBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy] 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:828:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)' 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:816:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 816 | class Q_GUI_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy] 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:848:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)' 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:834:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 834 | class Q_GUI_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy] 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:862:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)' 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:853:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 853 | class Q_GUI_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': /usr/include/qt4/QtGui/qstyleoption.h:878:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy] 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:878:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)' 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtGui/qabstractitemdelegate.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qabstractitemdelegate.h:76:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QAbstractItemDelegate(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemdelegate.h:123:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QAbstractItemDelegate(QObjectPrivate &, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qtableview.h:45, from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qabstractitemview.h:126:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | explicit QAbstractItemView(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:270:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | QAbstractItemView(QAbstractItemViewPrivate &, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:295:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 295 | const QEvent *event = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtableview.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtableview.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qtablewidget.h:45, from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qtableview.h:68:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QTableView(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtablewidget.h:222:5: note: in expansion of macro 'Q_OBJECT' 222 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtablewidget.h:222:5: note: in expansion of macro 'Q_OBJECT' 222 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QTableWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:23: /usr/include/qt4/QtGui/qtablewidget.h:228:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 228 | explicit QTableWidget(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qtablewidget.h:229:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 229 | QTableWidget(int rows, int columns, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qtablewidget.h: In member function 'void QTableWidget::removeCellWidget(int, int)': /usr/include/qt4/QtGui/qtablewidget.h:354:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 354 | { setCellWidget(arow, acolumn, 0); } | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:72: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/info.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/info.moc:48:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 48 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/info.moc: In member function 'virtual void* InfoDock::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/info.moc:67:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.cpp:19: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 99%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/navigationtoolbar.cpp.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qtoolbar.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtoolbar.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtoolbar.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qtoolbar.h:82:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | explicit QToolBar(const QString &title, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qtoolbar.h:83:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | explicit QToolBar(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:32:5: note: in expansion of macro 'Q_OBJECT' 32 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:32:5: note: in expansion of macro 'Q_OBJECT' 32 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:35:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 35 | NavigationToolBar(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:22: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:22: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:22: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:22: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:22: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qaction.h:66:5: note: in expansion of macro 'Q_OBJECT' 66 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qaction.h:66:5: note: in expansion of macro 'Q_OBJECT' 66 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QAction:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:24: /usr/include/qt4/QtGui/qaction.h:178:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 178 | bool showStatusText(QWidget *widget=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qactiongroup.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qactiongroup.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qvalidator.h:48, from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qvalidator.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QValidator(QObject * parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qvalidator.h:103:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 103 | explicit QIntValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:104:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | QIntValidator(int bottom, int top, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qvalidator.h:144:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 144 | explicit QDoubleValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:145:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 145 | QDoubleValidator(double bottom, double top, int decimals, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qvalidator.h:188:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 188 | explicit QRegExpValidator(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:189:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 189 | QRegExpValidator(const QRegExp& rx, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qabstractspinbox.h:79:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QAbstractSpinBox(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractspinbox.h:164:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 164 | QAbstractSpinBox(QAbstractSpinBoxPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qslider.h:45, from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qabstractslider.h:72:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QAbstractSlider(QWidget *parent=0); | ^ /usr/include/qt4/QtGui/qabstractslider.h:173:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 173 | QAbstractSlider(QAbstractSliderPrivate &dd, QWidget *parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qslider.h:84:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QSlider(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qslider.h:85:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 85 | explicit QSlider(Qt::Orientation orientation, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:50, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyle.h:216:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 216 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:287:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 287 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:383:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 383 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:468:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 468 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:470:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 470 | const QPoint &pt, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:472:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 472 | SubControl sc, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:599:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 599 | virtual int pixelMetric(PixelMetric metric, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:600:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 600 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:633:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | const QSize &contentsSize, const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:752:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 752 | virtual int styleHint(StyleHint stylehint, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:753:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:753:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:829:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 829 | virtual QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:830:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 830 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:832:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 832 | QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:833:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 833 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:860:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 860 | QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:861:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 861 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:865:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 865 | const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:866:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 866 | const QWidget *widget = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:51, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qtabbar.h:78:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QTabBar(QWidget* parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:52, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qtabwidget.h:76:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QTabWidget(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:53, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qrubberband.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QRubberBand(Shape, QWidget * =0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:54, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qframe.h:68:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:68:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)': /usr/include/qt4/QtGui/qstyleoption.h:112:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy] 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:112:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)' 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:128:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ 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/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionFrameV2::FrameFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:134:20: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 134 | class Q_GUI_EXPORT QStyleOptionFrameV2 : public QStyleOptionFrame | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: note: synthesized method 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' first required here 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: warning: implicitly-declared 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' is deprecated [-Wdeprecated-copy] 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:165:5: note: because 'QStyleOptionFrameV3' has user-provided 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)' 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:157:20: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 157 | class Q_GUI_EXPORT QStyleOptionFrameV3 : public QStyleOptionFrameV2 | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: note: synthesized method 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' first required here 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:190:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 190 | : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: warning: implicitly-declared 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' is deprecated [-Wdeprecated-copy] 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:205:5: note: because 'QStyleOptionTabWidgetFrameV2' has user-provided 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)' 205 | QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2 &other) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:196:20: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 196 | class Q_GUI_EXPORT QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetFrame | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: note: synthesized method 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' first required here 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)': /usr/include/qt4/QtGui/qstyleoption.h:229:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: warning: implicitly-declared 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' is deprecated [-Wdeprecated-copy] 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:241:5: note: because 'QStyleOptionTabBarBaseV2' has user-provided 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)' 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:235:20: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 235 | class Q_GUI_EXPORT QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBase | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: note: synthesized method 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' first required here 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ 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/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::AlignmentFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)': /usr/include/qt4/QtGui/qstyleoption.h:273:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy] 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:273:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)' 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionButton::ButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)': /usr/include/qt4/QtGui/qstyleoption.h:295:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy] 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:295:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)' 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionTab::CornerWidget; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)': /usr/include/qt4/QtGui/qstyleoption.h:325:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:333:20: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 333 | class Q_GUI_EXPORT QStyleOptionTabV2 : public QStyleOptionTab | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: note: synthesized method 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' first required here 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: warning: implicitly-declared 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' is deprecated [-Wdeprecated-copy] 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:355:5: note: because 'QStyleOptionTabV3' has user-provided 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)' 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:347:20: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 347 | class Q_GUI_EXPORT QStyleOptionTabV3 : public QStyleOptionTabV2 | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: note: synthesized method 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' first required here 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ 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/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolBar::ToolBarFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)': /usr/include/qt4/QtGui/qstyleoption.h:384:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy] 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:384:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)' 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)': /usr/include/qt4/QtGui/qstyleoption.h:410:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy] 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:410:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)' 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)': /usr/include/qt4/QtGui/qstyleoption.h:457:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy] 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:457:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)' 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionQ3ListViewItem::Q3ListViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:480:113: warning: implicitly-declared 'QStyleOptionQ3ListViewItem& QStyleOptionQ3ListViewItem::operator=(const QStyleOptionQ3ListViewItem&)' is deprecated [-Wdeprecated-copy] 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:480:5: note: because 'QStyleOptionQ3ListViewItem' has user-provided 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)' 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)': /usr/include/qt4/QtGui/qstyleoption.h:498:109: warning: implicitly-declared 'QStyleOptionQ3DockWindow& QStyleOptionQ3DockWindow::operator=(const QStyleOptionQ3DockWindow&)' is deprecated [-Wdeprecated-copy] 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:498:5: note: because 'QStyleOptionQ3DockWindow' has user-provided 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)' 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)': /usr/include/qt4/QtGui/qstyleoption.h:516:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: warning: implicitly-declared 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' is deprecated [-Wdeprecated-copy] 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:530:5: note: because 'QStyleOptionDockWidgetV2' has user-provided 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)' 530 | QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2 &other) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:522:20: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 522 | class Q_GUI_EXPORT QStyleOptionDockWidgetV2 : public QStyleOptionDockWidget | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: note: synthesized method 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' first required here 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:556:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionViewItemV2::ViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:562:20: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 562 | class Q_GUI_EXPORT QStyleOptionViewItemV2 : public QStyleOptionViewItem | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: note: synthesized method 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' first required here 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:590:20: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 590 | class Q_GUI_EXPORT QStyleOptionViewItemV3 : public QStyleOptionViewItemV2 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: note: synthesized method 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' first required here 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: warning: implicitly-declared 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' is deprecated [-Wdeprecated-copy] 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:623:5: note: because 'QStyleOptionViewItemV4' has user-provided 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)' 623 | QStyleOptionViewItemV4(const QStyleOptionViewItemV4 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: note: synthesized method 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' first required here 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)': /usr/include/qt4/QtGui/qstyleoption.h:643:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: warning: implicitly-declared 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' is deprecated [-Wdeprecated-copy] 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:660:5: note: because 'QStyleOptionToolBoxV2' has user-provided 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)' 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:649:20: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 649 | class Q_GUI_EXPORT QStyleOptionToolBoxV2 : public QStyleOptionToolBox | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: note: synthesized method 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' first required here 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)': /usr/include/qt4/QtGui/qstyleoption.h:679:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy] 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:679:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)' 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ 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/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyle::SubControl; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)': /usr/include/qt4/QtGui/qstyleoption.h:697:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy] 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:721:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)' 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:701:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 701 | class Q_GUI_EXPORT QStyleOptionSlider : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QAbstractSpinBox::StepEnabledFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy] 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:740:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)' 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:729:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 729 | class Q_GUI_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: warning: implicitly-declared 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' is deprecated [-Wdeprecated-copy] 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:762:5: note: because 'QStyleOptionQ3ListView' has user-provided 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)' 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:747:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 747 | class Q_GUI_EXPORT QStyleOptionQ3ListView : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: note: synthesized method 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' first required here 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolButton::ToolButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy] 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:788:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)' 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:768:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 768 | class Q_GUI_EXPORT QStyleOptionToolButton : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy] 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:810:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)' 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:796:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 796 | class Q_GUI_EXPORT QStyleOptionComboBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy] 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:828:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)' 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:816:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 816 | class Q_GUI_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy] 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:848:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)' 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:834:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 834 | class Q_GUI_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy] 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:862:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)' 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:853:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 853 | class Q_GUI_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': /usr/include/qt4/QtGui/qstyleoption.h:878:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy] 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:878:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)' 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtGui/qabstractitemdelegate.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qcombobox.h:46, from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qabstractitemdelegate.h:76:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QAbstractItemDelegate(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemdelegate.h:123:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QAbstractItemDelegate(QObjectPrivate &, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qcombobox.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qcombobox.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QComboBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:25: /usr/include/qt4/QtGui/qcombobox.h:89:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | explicit QComboBox(QWidget *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:144: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/navigationtoolbar.moc:78:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/navigationtoolbar.moc: In member function 'virtual void* NavigationToolBar::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/navigationtoolbar.moc:97:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | if (!_clname) return 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/navigationtoolbar.moc: In member function 'void NavigationToolBar::zoomChanged(qreal)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/navigationtoolbar.moc:121:20: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/navigationtoolbar.moc: In member function 'void NavigationToolBar::rotationChanged(int)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/navigationtoolbar.moc:128:20: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 128 | void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qtoolbar.h:45, from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.cpp:20: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 99%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/toc.cpp.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h:72:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:72:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:31:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | AbstractInfoDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:31:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | TocDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:21: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:21: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:21: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:21: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:21: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qframe.h:68:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:68:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qabstractscrollarea.h:66:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractScrollArea(QWidget* parent=0); | ^ /usr/include/qt4/QtGui/qabstractscrollarea.h:97:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | QAbstractScrollArea(QAbstractScrollAreaPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qvalidator.h:48, from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QValidator(QObject * parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:103:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 103 | explicit QIntValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:104:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | QIntValidator(int bottom, int top, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:144:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 144 | explicit QDoubleValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:145:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 145 | QDoubleValidator(double bottom, double top, int decimals, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:188:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 188 | explicit QRegExpValidator(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:189:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 189 | QRegExpValidator(const QRegExp& rx, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qabstractspinbox.h:79:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QAbstractSpinBox(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractspinbox.h:164:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 164 | QAbstractSpinBox(QAbstractSpinBoxPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qslider.h:45, from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qabstractslider.h:72:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QAbstractSlider(QWidget *parent=0); | ^ /usr/include/qt4/QtGui/qabstractslider.h:173:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 173 | QAbstractSlider(QAbstractSliderPrivate &dd, QWidget *parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qslider.h:84:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QSlider(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qslider.h:85:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 85 | explicit QSlider(Qt::Orientation orientation, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:50, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyle.h:216:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 216 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:287:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 287 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:383:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 383 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:468:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 468 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:470:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 470 | const QPoint &pt, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:472:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 472 | SubControl sc, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:599:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 599 | virtual int pixelMetric(PixelMetric metric, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:600:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 600 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:633:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | const QSize &contentsSize, const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:752:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 752 | virtual int styleHint(StyleHint stylehint, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:753:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:753:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:829:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 829 | virtual QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:830:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 830 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:832:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 832 | QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:833:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 833 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:860:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 860 | QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:861:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 861 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:865:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 865 | const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:866:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 866 | const QWidget *widget = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:51, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qtabbar.h:78:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QTabBar(QWidget* parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:52, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qtabwidget.h:76:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QTabWidget(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:53, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qrubberband.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QRubberBand(Shape, QWidget * =0); | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)': /usr/include/qt4/QtGui/qstyleoption.h:112:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy] 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:112:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)' 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:128:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionFrameV2::FrameFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:134:20: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 134 | class Q_GUI_EXPORT QStyleOptionFrameV2 : public QStyleOptionFrame | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: note: synthesized method 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' first required here 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: warning: implicitly-declared 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' is deprecated [-Wdeprecated-copy] 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:165:5: note: because 'QStyleOptionFrameV3' has user-provided 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)' 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:157:20: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 157 | class Q_GUI_EXPORT QStyleOptionFrameV3 : public QStyleOptionFrameV2 | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: note: synthesized method 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' first required here 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:190:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 190 | : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: warning: implicitly-declared 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' is deprecated [-Wdeprecated-copy] 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:205:5: note: because 'QStyleOptionTabWidgetFrameV2' has user-provided 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)' 205 | QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2 &other) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:196:20: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 196 | class Q_GUI_EXPORT QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetFrame | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: note: synthesized method 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' first required here 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)': /usr/include/qt4/QtGui/qstyleoption.h:229:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: warning: implicitly-declared 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' is deprecated [-Wdeprecated-copy] 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:241:5: note: because 'QStyleOptionTabBarBaseV2' has user-provided 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)' 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:235:20: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 235 | class Q_GUI_EXPORT QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBase | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: note: synthesized method 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' first required here 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::AlignmentFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)': /usr/include/qt4/QtGui/qstyleoption.h:273:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy] 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:273:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)' 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionButton::ButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)': /usr/include/qt4/QtGui/qstyleoption.h:295:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy] 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:295:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)' 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionTab::CornerWidget; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)': /usr/include/qt4/QtGui/qstyleoption.h:325:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:333:20: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 333 | class Q_GUI_EXPORT QStyleOptionTabV2 : public QStyleOptionTab | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: note: synthesized method 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' first required here 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: warning: implicitly-declared 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' is deprecated [-Wdeprecated-copy] 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:355:5: note: because 'QStyleOptionTabV3' has user-provided 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)' 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:347:20: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 347 | class Q_GUI_EXPORT QStyleOptionTabV3 : public QStyleOptionTabV2 | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: note: synthesized method 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' first required here 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolBar::ToolBarFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)': /usr/include/qt4/QtGui/qstyleoption.h:384:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy] 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:384:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)' 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)': /usr/include/qt4/QtGui/qstyleoption.h:410:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy] 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:410:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)' 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)': /usr/include/qt4/QtGui/qstyleoption.h:457:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy] 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:457:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)' 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionQ3ListViewItem::Q3ListViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:480:113: warning: implicitly-declared 'QStyleOptionQ3ListViewItem& QStyleOptionQ3ListViewItem::operator=(const QStyleOptionQ3ListViewItem&)' is deprecated [-Wdeprecated-copy] 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:480:5: note: because 'QStyleOptionQ3ListViewItem' has user-provided 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)' 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)': /usr/include/qt4/QtGui/qstyleoption.h:498:109: warning: implicitly-declared 'QStyleOptionQ3DockWindow& QStyleOptionQ3DockWindow::operator=(const QStyleOptionQ3DockWindow&)' is deprecated [-Wdeprecated-copy] 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:498:5: note: because 'QStyleOptionQ3DockWindow' has user-provided 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)' 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)': /usr/include/qt4/QtGui/qstyleoption.h:516:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: warning: implicitly-declared 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' is deprecated [-Wdeprecated-copy] 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:530:5: note: because 'QStyleOptionDockWidgetV2' has user-provided 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)' 530 | QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2 &other) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:522:20: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 522 | class Q_GUI_EXPORT QStyleOptionDockWidgetV2 : public QStyleOptionDockWidget | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: note: synthesized method 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' first required here 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:556:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionViewItemV2::ViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:562:20: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 562 | class Q_GUI_EXPORT QStyleOptionViewItemV2 : public QStyleOptionViewItem | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: note: synthesized method 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' first required here 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:590:20: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 590 | class Q_GUI_EXPORT QStyleOptionViewItemV3 : public QStyleOptionViewItemV2 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: note: synthesized method 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' first required here 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: warning: implicitly-declared 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' is deprecated [-Wdeprecated-copy] 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:623:5: note: because 'QStyleOptionViewItemV4' has user-provided 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)' 623 | QStyleOptionViewItemV4(const QStyleOptionViewItemV4 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: note: synthesized method 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' first required here 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)': /usr/include/qt4/QtGui/qstyleoption.h:643:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: warning: implicitly-declared 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' is deprecated [-Wdeprecated-copy] 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:660:5: note: because 'QStyleOptionToolBoxV2' has user-provided 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)' 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:649:20: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 649 | class Q_GUI_EXPORT QStyleOptionToolBoxV2 : public QStyleOptionToolBox | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: note: synthesized method 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' first required here 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)': /usr/include/qt4/QtGui/qstyleoption.h:679:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy] 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:679:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)' 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyle::SubControl; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)': /usr/include/qt4/QtGui/qstyleoption.h:697:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy] 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:721:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)' 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:701:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 701 | class Q_GUI_EXPORT QStyleOptionSlider : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QAbstractSpinBox::StepEnabledFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy] 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:740:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)' 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:729:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 729 | class Q_GUI_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: warning: implicitly-declared 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' is deprecated [-Wdeprecated-copy] 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:762:5: note: because 'QStyleOptionQ3ListView' has user-provided 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)' 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:747:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 747 | class Q_GUI_EXPORT QStyleOptionQ3ListView : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: note: synthesized method 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' first required here 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolButton::ToolButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy] 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:788:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)' 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:768:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 768 | class Q_GUI_EXPORT QStyleOptionToolButton : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy] 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:810:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)' 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:796:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 796 | class Q_GUI_EXPORT QStyleOptionComboBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy] 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:828:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)' 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:816:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 816 | class Q_GUI_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy] 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:848:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)' 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:834:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 834 | class Q_GUI_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy] 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:862:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)' 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:853:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 853 | class Q_GUI_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': /usr/include/qt4/QtGui/qstyleoption.h:878:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy] 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:878:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)' 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qabstractitemdelegate.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qabstractitemdelegate.h:76:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QAbstractItemDelegate(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemdelegate.h:123:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QAbstractItemDelegate(QObjectPrivate &, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qabstractitemview.h:126:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | explicit QAbstractItemView(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:270:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | QAbstractItemView(QAbstractItemViewPrivate &, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:295:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 295 | const QEvent *event = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qheaderview.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qheaderview.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QHeaderView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:23: /usr/include/qt4/QtGui/qheaderview.h:81:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 81 | explicit QHeaderView(Qt::Orientation orientation, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qheaderview.h:191:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 191 | QHeaderView(QHeaderViewPrivate &dd, Qt::Orientation orientation, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtreeview.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtreeview.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qtreewidget.h:45, from /usr/include/qt4/QtGui/QTreeWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:24: /usr/include/qt4/QtGui/qtreeview.h:74:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | explicit QTreeView(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qtreeview.h:173:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 173 | QTreeView(QTreeViewPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QTreeWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:24: /usr/include/qt4/QtGui/qtreewidget.h: In member function 'QTreeWidgetItem* QTreeWidgetItem::child(int) const': /usr/include/qt4/QtGui/qtreewidget.h:186:20: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtGui/qtreewidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtreewidget.h:262:5: note: in expansion of macro 'Q_OBJECT' 262 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtreewidget.h:262:5: note: in expansion of macro 'Q_OBJECT' 262 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QTreeWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:24: /usr/include/qt4/QtGui/qtreewidget.h:269:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 269 | explicit QTreeWidget(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qtreewidget.h: In member function 'void QTreeWidget::removeItemWidget(QTreeWidgetItem*, int)': /usr/include/qt4/QtGui/qtreewidget.h:388:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 388 | { setItemWidget(item, column, 0); } | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp: In function 'void fillToc(const QDomNode&, QTreeWidget*, QTreeWidgetItem*)': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:28:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 28 | QTreeWidgetItem *newitem = 0; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp: In member function 'virtual void TocDock::fillInfo()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:73:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | fillToc(*toc, m_tree, 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:88: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/toc.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/toc.moc:48:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 48 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/toc.moc: In member function 'virtual void* TocDock::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/toc.moc:67:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.cpp:19: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [100%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/permissions.cpp.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h:72:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:72:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:31:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | AbstractInfoDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:31:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | PermissionsDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:21: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:21: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:21: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:21: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:21: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qframe.h:68:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:68:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qabstractscrollarea.h:66:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractScrollArea(QWidget* parent=0); | ^ /usr/include/qt4/QtGui/qabstractscrollarea.h:97:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | QAbstractScrollArea(QAbstractScrollAreaPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qvalidator.h:48, from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QValidator(QObject * parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:103:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 103 | explicit QIntValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:104:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | QIntValidator(int bottom, int top, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:144:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 144 | explicit QDoubleValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:145:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 145 | QDoubleValidator(double bottom, double top, int decimals, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:188:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 188 | explicit QRegExpValidator(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:189:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 189 | QRegExpValidator(const QRegExp& rx, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qabstractspinbox.h:79:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QAbstractSpinBox(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractspinbox.h:164:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 164 | QAbstractSpinBox(QAbstractSpinBoxPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qslider.h:45, from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qabstractslider.h:72:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QAbstractSlider(QWidget *parent=0); | ^ /usr/include/qt4/QtGui/qabstractslider.h:173:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 173 | QAbstractSlider(QAbstractSliderPrivate &dd, QWidget *parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qslider.h:84:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QSlider(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qslider.h:85:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 85 | explicit QSlider(Qt::Orientation orientation, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:50, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyle.h:216:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 216 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:287:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 287 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:383:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 383 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:468:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 468 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:470:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 470 | const QPoint &pt, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:472:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 472 | SubControl sc, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:599:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 599 | virtual int pixelMetric(PixelMetric metric, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:600:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 600 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:633:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | const QSize &contentsSize, const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:752:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 752 | virtual int styleHint(StyleHint stylehint, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:753:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:753:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:829:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 829 | virtual QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:830:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 830 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:832:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 832 | QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:833:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 833 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:860:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 860 | QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:861:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 861 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:865:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 865 | const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:866:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 866 | const QWidget *widget = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:51, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qtabbar.h:78:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QTabBar(QWidget* parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:52, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qtabwidget.h:76:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QTabWidget(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:53, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qrubberband.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QRubberBand(Shape, QWidget * =0); | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)': /usr/include/qt4/QtGui/qstyleoption.h:112:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy] 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:112:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)' 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:128:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionFrameV2::FrameFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:134:20: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 134 | class Q_GUI_EXPORT QStyleOptionFrameV2 : public QStyleOptionFrame | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: note: synthesized method 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' first required here 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: warning: implicitly-declared 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' is deprecated [-Wdeprecated-copy] 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:165:5: note: because 'QStyleOptionFrameV3' has user-provided 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)' 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:157:20: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 157 | class Q_GUI_EXPORT QStyleOptionFrameV3 : public QStyleOptionFrameV2 | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: note: synthesized method 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' first required here 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:190:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 190 | : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: warning: implicitly-declared 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' is deprecated [-Wdeprecated-copy] 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:205:5: note: because 'QStyleOptionTabWidgetFrameV2' has user-provided 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)' 205 | QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2 &other) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:196:20: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 196 | class Q_GUI_EXPORT QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetFrame | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: note: synthesized method 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' first required here 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)': /usr/include/qt4/QtGui/qstyleoption.h:229:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: warning: implicitly-declared 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' is deprecated [-Wdeprecated-copy] 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:241:5: note: because 'QStyleOptionTabBarBaseV2' has user-provided 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)' 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:235:20: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 235 | class Q_GUI_EXPORT QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBase | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: note: synthesized method 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' first required here 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::AlignmentFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)': /usr/include/qt4/QtGui/qstyleoption.h:273:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy] 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:273:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)' 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionButton::ButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)': /usr/include/qt4/QtGui/qstyleoption.h:295:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy] 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:295:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)' 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionTab::CornerWidget; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)': /usr/include/qt4/QtGui/qstyleoption.h:325:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:333:20: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 333 | class Q_GUI_EXPORT QStyleOptionTabV2 : public QStyleOptionTab | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: note: synthesized method 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' first required here 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: warning: implicitly-declared 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' is deprecated [-Wdeprecated-copy] 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:355:5: note: because 'QStyleOptionTabV3' has user-provided 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)' 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:347:20: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 347 | class Q_GUI_EXPORT QStyleOptionTabV3 : public QStyleOptionTabV2 | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: note: synthesized method 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' first required here 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolBar::ToolBarFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)': /usr/include/qt4/QtGui/qstyleoption.h:384:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy] 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:384:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)' 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)': /usr/include/qt4/QtGui/qstyleoption.h:410:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy] 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:410:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)' 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)': /usr/include/qt4/QtGui/qstyleoption.h:457:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy] 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:457:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)' 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionQ3ListViewItem::Q3ListViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:480:113: warning: implicitly-declared 'QStyleOptionQ3ListViewItem& QStyleOptionQ3ListViewItem::operator=(const QStyleOptionQ3ListViewItem&)' is deprecated [-Wdeprecated-copy] 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:480:5: note: because 'QStyleOptionQ3ListViewItem' has user-provided 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)' 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)': /usr/include/qt4/QtGui/qstyleoption.h:498:109: warning: implicitly-declared 'QStyleOptionQ3DockWindow& QStyleOptionQ3DockWindow::operator=(const QStyleOptionQ3DockWindow&)' is deprecated [-Wdeprecated-copy] 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:498:5: note: because 'QStyleOptionQ3DockWindow' has user-provided 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)' 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)': /usr/include/qt4/QtGui/qstyleoption.h:516:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: warning: implicitly-declared 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' is deprecated [-Wdeprecated-copy] 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:530:5: note: because 'QStyleOptionDockWidgetV2' has user-provided 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)' 530 | QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2 &other) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:522:20: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 522 | class Q_GUI_EXPORT QStyleOptionDockWidgetV2 : public QStyleOptionDockWidget | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: note: synthesized method 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' first required here 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:556:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionViewItemV2::ViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:562:20: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 562 | class Q_GUI_EXPORT QStyleOptionViewItemV2 : public QStyleOptionViewItem | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: note: synthesized method 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' first required here 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:590:20: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 590 | class Q_GUI_EXPORT QStyleOptionViewItemV3 : public QStyleOptionViewItemV2 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: note: synthesized method 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' first required here 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: warning: implicitly-declared 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' is deprecated [-Wdeprecated-copy] 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:623:5: note: because 'QStyleOptionViewItemV4' has user-provided 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)' 623 | QStyleOptionViewItemV4(const QStyleOptionViewItemV4 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: note: synthesized method 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' first required here 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)': /usr/include/qt4/QtGui/qstyleoption.h:643:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: warning: implicitly-declared 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' is deprecated [-Wdeprecated-copy] 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:660:5: note: because 'QStyleOptionToolBoxV2' has user-provided 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)' 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:649:20: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 649 | class Q_GUI_EXPORT QStyleOptionToolBoxV2 : public QStyleOptionToolBox | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: note: synthesized method 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' first required here 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)': /usr/include/qt4/QtGui/qstyleoption.h:679:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy] 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:679:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)' 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyle::SubControl; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)': /usr/include/qt4/QtGui/qstyleoption.h:697:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy] 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:721:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)' 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:701:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 701 | class Q_GUI_EXPORT QStyleOptionSlider : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QAbstractSpinBox::StepEnabledFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy] 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:740:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)' 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:729:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 729 | class Q_GUI_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: warning: implicitly-declared 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' is deprecated [-Wdeprecated-copy] 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:762:5: note: because 'QStyleOptionQ3ListView' has user-provided 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)' 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:747:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 747 | class Q_GUI_EXPORT QStyleOptionQ3ListView : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: note: synthesized method 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' first required here 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolButton::ToolButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy] 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:788:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)' 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:768:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 768 | class Q_GUI_EXPORT QStyleOptionToolButton : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy] 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:810:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)' 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:796:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 796 | class Q_GUI_EXPORT QStyleOptionComboBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy] 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:828:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)' 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:816:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 816 | class Q_GUI_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy] 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:848:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)' 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:834:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 834 | class Q_GUI_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy] 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:862:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)' 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:853:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 853 | class Q_GUI_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': /usr/include/qt4/QtGui/qstyleoption.h:878:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy] 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:878:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)' 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtGui/qabstractitemdelegate.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qabstractitemdelegate.h:76:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QAbstractItemDelegate(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemdelegate.h:123:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QAbstractItemDelegate(QObjectPrivate &, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qabstractitemview.h:126:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | explicit QAbstractItemView(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:270:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | QAbstractItemView(QAbstractItemViewPrivate &, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:295:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 295 | const QEvent *event = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlistview.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlistview.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qlistview.h:82:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | explicit QListView(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qlistview.h:141:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 141 | QListView(QListViewPrivate &, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qlistwidget.h:69:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QListWidgetItem(QListWidget *view = 0, int type = Type); | ^ /usr/include/qt4/QtGui/qlistwidget.h:70:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 70 | explicit QListWidgetItem(const QString &text, QListWidget *view = 0, int type = Type); | ^ /usr/include/qt4/QtGui/qlistwidget.h:72:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QListWidget *view = 0, int type = Type); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlistwidget.h:204:5: note: in expansion of macro 'Q_OBJECT' 204 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlistwidget.h:204:5: note: in expansion of macro 'Q_OBJECT' 204 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:23: /usr/include/qt4/QtGui/qlistwidget.h:212:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 212 | explicit QListWidget(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qlistwidget.h: In member function 'void QListWidget::removeItemWidget(QListWidgetItem*)': /usr/include/qt4/QtGui/qlistwidget.h:309:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 309 | { setItemWidget(aItem, 0); } | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:66: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/permissions.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/permissions.moc:48:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 48 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/permissions.moc: In member function 'virtual void* PermissionsDock::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/permissions.moc:67:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.cpp:19: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 99%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/thumbnails.cpp.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qdockwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qdockwidget.h:72:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:72:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:31:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | AbstractInfoDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:30:5: note: in expansion of macro 'Q_OBJECT' 30 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:30:5: note: in expansion of macro 'Q_OBJECT' 30 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:33:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 33 | ThumbnailsDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:22: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:22: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:22: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:22: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:22: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qframe.h:68:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:68:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qabstractscrollarea.h:66:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractScrollArea(QWidget* parent=0); | ^ /usr/include/qt4/QtGui/qabstractscrollarea.h:97:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | QAbstractScrollArea(QAbstractScrollAreaPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qvalidator.h:48, from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qvalidator.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QValidator(QObject * parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qvalidator.h:103:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 103 | explicit QIntValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:104:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | QIntValidator(int bottom, int top, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qvalidator.h:144:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 144 | explicit QDoubleValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:145:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 145 | QDoubleValidator(double bottom, double top, int decimals, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qvalidator.h:188:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 188 | explicit QRegExpValidator(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:189:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 189 | QRegExpValidator(const QRegExp& rx, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qabstractspinbox.h:79:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QAbstractSpinBox(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractspinbox.h:164:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 164 | QAbstractSpinBox(QAbstractSpinBoxPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qslider.h:45, from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qabstractslider.h:72:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QAbstractSlider(QWidget *parent=0); | ^ /usr/include/qt4/QtGui/qabstractslider.h:173:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 173 | QAbstractSlider(QAbstractSliderPrivate &dd, QWidget *parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qslider.h:84:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QSlider(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qslider.h:85:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 85 | explicit QSlider(Qt::Orientation orientation, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:50, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyle.h:216:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 216 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:287:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 287 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:383:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 383 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:468:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 468 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:470:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 470 | const QPoint &pt, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:472:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 472 | SubControl sc, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:599:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 599 | virtual int pixelMetric(PixelMetric metric, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:600:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 600 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:633:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | const QSize &contentsSize, const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:752:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 752 | virtual int styleHint(StyleHint stylehint, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:753:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:753:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:829:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 829 | virtual QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:830:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 830 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:832:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 832 | QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:833:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 833 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:860:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 860 | QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:861:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 861 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:865:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 865 | const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:866:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 866 | const QWidget *widget = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:51, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qtabbar.h:78:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QTabBar(QWidget* parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:52, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qtabwidget.h:76:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QTabWidget(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:53, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qrubberband.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QRubberBand(Shape, QWidget * =0); | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)': /usr/include/qt4/QtGui/qstyleoption.h:112:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy] 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:112:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)' 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:128:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionFrameV2::FrameFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:134:20: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 134 | class Q_GUI_EXPORT QStyleOptionFrameV2 : public QStyleOptionFrame | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: note: synthesized method 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' first required here 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: warning: implicitly-declared 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' is deprecated [-Wdeprecated-copy] 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:165:5: note: because 'QStyleOptionFrameV3' has user-provided 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)' 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:157:20: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 157 | class Q_GUI_EXPORT QStyleOptionFrameV3 : public QStyleOptionFrameV2 | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: note: synthesized method 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' first required here 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:190:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 190 | : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: warning: implicitly-declared 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' is deprecated [-Wdeprecated-copy] 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:205:5: note: because 'QStyleOptionTabWidgetFrameV2' has user-provided 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)' 205 | QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2 &other) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:196:20: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 196 | class Q_GUI_EXPORT QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetFrame | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: note: synthesized method 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' first required here 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)': /usr/include/qt4/QtGui/qstyleoption.h:229:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: warning: implicitly-declared 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' is deprecated [-Wdeprecated-copy] 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:241:5: note: because 'QStyleOptionTabBarBaseV2' has user-provided 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)' 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:235:20: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 235 | class Q_GUI_EXPORT QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBase | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: note: synthesized method 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' first required here 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::AlignmentFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)': /usr/include/qt4/QtGui/qstyleoption.h:273:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy] 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:273:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)' 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionButton::ButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)': /usr/include/qt4/QtGui/qstyleoption.h:295:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy] 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:295:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)' 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionTab::CornerWidget; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)': /usr/include/qt4/QtGui/qstyleoption.h:325:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:333:20: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 333 | class Q_GUI_EXPORT QStyleOptionTabV2 : public QStyleOptionTab | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: note: synthesized method 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' first required here 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: warning: implicitly-declared 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' is deprecated [-Wdeprecated-copy] 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:355:5: note: because 'QStyleOptionTabV3' has user-provided 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)' 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:347:20: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 347 | class Q_GUI_EXPORT QStyleOptionTabV3 : public QStyleOptionTabV2 | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: note: synthesized method 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' first required here 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolBar::ToolBarFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)': /usr/include/qt4/QtGui/qstyleoption.h:384:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy] 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:384:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)' 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)': /usr/include/qt4/QtGui/qstyleoption.h:410:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy] 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:410:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)' 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)': /usr/include/qt4/QtGui/qstyleoption.h:457:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy] 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:457:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)' 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionQ3ListViewItem::Q3ListViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:480:113: warning: implicitly-declared 'QStyleOptionQ3ListViewItem& QStyleOptionQ3ListViewItem::operator=(const QStyleOptionQ3ListViewItem&)' is deprecated [-Wdeprecated-copy] 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:480:5: note: because 'QStyleOptionQ3ListViewItem' has user-provided 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)' 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)': /usr/include/qt4/QtGui/qstyleoption.h:498:109: warning: implicitly-declared 'QStyleOptionQ3DockWindow& QStyleOptionQ3DockWindow::operator=(const QStyleOptionQ3DockWindow&)' is deprecated [-Wdeprecated-copy] 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:498:5: note: because 'QStyleOptionQ3DockWindow' has user-provided 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)' 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)': /usr/include/qt4/QtGui/qstyleoption.h:516:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: warning: implicitly-declared 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' is deprecated [-Wdeprecated-copy] 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:530:5: note: because 'QStyleOptionDockWidgetV2' has user-provided 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)' 530 | QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2 &other) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:522:20: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 522 | class Q_GUI_EXPORT QStyleOptionDockWidgetV2 : public QStyleOptionDockWidget | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: note: synthesized method 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' first required here 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:556:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionViewItemV2::ViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:562:20: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 562 | class Q_GUI_EXPORT QStyleOptionViewItemV2 : public QStyleOptionViewItem | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: note: synthesized method 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' first required here 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:590:20: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 590 | class Q_GUI_EXPORT QStyleOptionViewItemV3 : public QStyleOptionViewItemV2 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: note: synthesized method 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' first required here 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: warning: implicitly-declared 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' is deprecated [-Wdeprecated-copy] 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:623:5: note: because 'QStyleOptionViewItemV4' has user-provided 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)' 623 | QStyleOptionViewItemV4(const QStyleOptionViewItemV4 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: note: synthesized method 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' first required here 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)': /usr/include/qt4/QtGui/qstyleoption.h:643:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: warning: implicitly-declared 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' is deprecated [-Wdeprecated-copy] 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:660:5: note: because 'QStyleOptionToolBoxV2' has user-provided 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)' 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:649:20: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 649 | class Q_GUI_EXPORT QStyleOptionToolBoxV2 : public QStyleOptionToolBox | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: note: synthesized method 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' first required here 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)': /usr/include/qt4/QtGui/qstyleoption.h:679:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy] 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:679:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)' 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyle::SubControl; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)': /usr/include/qt4/QtGui/qstyleoption.h:697:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy] 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:721:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)' 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:701:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 701 | class Q_GUI_EXPORT QStyleOptionSlider : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QAbstractSpinBox::StepEnabledFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy] 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:740:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)' 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:729:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 729 | class Q_GUI_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: warning: implicitly-declared 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' is deprecated [-Wdeprecated-copy] 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:762:5: note: because 'QStyleOptionQ3ListView' has user-provided 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)' 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:747:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 747 | class Q_GUI_EXPORT QStyleOptionQ3ListView : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: note: synthesized method 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' first required here 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolButton::ToolButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy] 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:788:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)' 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:768:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 768 | class Q_GUI_EXPORT QStyleOptionToolButton : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy] 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:810:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)' 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:796:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 796 | class Q_GUI_EXPORT QStyleOptionComboBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy] 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:828:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)' 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:816:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 816 | class Q_GUI_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy] 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:848:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)' 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:834:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 834 | class Q_GUI_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy] 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:862:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)' 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:853:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 853 | class Q_GUI_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': /usr/include/qt4/QtGui/qstyleoption.h:878:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy] 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:878:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)' 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtGui/qabstractitemdelegate.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qabstractitemdelegate.h:76:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QAbstractItemDelegate(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemdelegate.h:123:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QAbstractItemDelegate(QObjectPrivate &, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qabstractitemview.h:126:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | explicit QAbstractItemView(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:270:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | QAbstractItemView(QAbstractItemViewPrivate &, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:295:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 295 | const QEvent *event = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlistview.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlistview.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qlistview.h:82:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | explicit QListView(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qlistview.h:141:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 141 | QListView(QListViewPrivate &, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qlistwidget.h:69:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 69 | explicit QListWidgetItem(QListWidget *view = 0, int type = Type); | ^ /usr/include/qt4/QtGui/qlistwidget.h:70:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 70 | explicit QListWidgetItem(const QString &text, QListWidget *view = 0, int type = Type); | ^ /usr/include/qt4/QtGui/qlistwidget.h:72:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | QListWidget *view = 0, int type = Type); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlistwidget.h:204:5: note: in expansion of macro 'Q_OBJECT' 204 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlistwidget.h:204:5: note: in expansion of macro 'Q_OBJECT' 204 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QListWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:24: /usr/include/qt4/QtGui/qlistwidget.h:212:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 212 | explicit QListWidget(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qlistwidget.h: In member function 'void QListWidget::removeItemWidget(QListWidgetItem*)': /usr/include/qt4/QtGui/qlistwidget.h:309:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 309 | { setItemWidget(aItem, 0); } | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:84: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/thumbnails.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/thumbnails.moc:56:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 56 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/thumbnails.moc: In member function 'virtual void* ThumbnailsDock::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/thumbnails.moc:75:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.cpp:20: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 99%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/pageview.cpp.o In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qframe.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qframe.h:68:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:68:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qabstractscrollarea.h:66:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractScrollArea(QWidget* parent=0); | ^ /usr/include/qt4/QtGui/qabstractscrollarea.h:97:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | QAbstractScrollArea(QAbstractScrollAreaPrivate &dd, QWidget *parent = 0); | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qscrollarea.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qscrollarea.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qscrollarea.h:64:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QScrollArea(QWidget* parent=0); | ^ /usr/include/qt4/QtGui/qscrollarea.h:84:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | QScrollArea(QScrollAreaPrivate &dd, QWidget *parent = 0); | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:31:5: note: in expansion of macro 'Q_OBJECT' 31 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:31:5: note: in expansion of macro 'Q_OBJECT' 31 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:34:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 34 | PageView(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:22: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:22: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:22: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:22: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:22: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:47, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:24: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:24: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtGui/qapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:24: /usr/include/qt4/QtGui/qapplication.h:162:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 162 | static void setPalette(const QPalette &, const char* className = 0); | ^ /usr/include/qt4/QtGui/qapplication.h:166:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 166 | static void setFont(const QFont &, const char* className = 0); | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdesktopwidget.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdesktopwidget.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QDesktopWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:25: /usr/include/qt4/QtGui/qdesktopwidget.h:72:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | int screenNumber(const QWidget *widget = 0) const; | ^ In file included 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/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlabel.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlabel.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QLabel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:27: /usr/include/qt4/QtGui/qlabel.h:72:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QLabel(QWidget *parent=0, Qt::WindowFlags f=0); | ^ /usr/include/qt4/QtGui/qlabel.h:72:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QLabel(QWidget *parent=0, Qt::WindowFlags f=0); | ^ /usr/include/qt4/QtGui/qlabel.h:73:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QLabel(const QString &text, QWidget *parent=0, Qt::WindowFlags f=0); | ^ /usr/include/qt4/QtGui/qlabel.h:73:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QLabel(const QString &text, QWidget *parent=0, Qt::WindowFlags f=0); | ^ /usr/include/qt4/QtGui/qlabel.h: In constructor 'PageView::PageView(QWidget*)': /usr/include/qt4/QtGui/qlabel.h:72:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QLabel(QWidget *parent=0, Qt::WindowFlags f=0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:101: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/pageview.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/pageview.moc:58:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 58 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/pageview.moc: In member function 'virtual void* PageView::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/pageview.moc:77:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.cpp:20: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [100%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/viewer.cpp.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qtabwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qmainwindow.h:46, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qtabwidget.h:76:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QTabWidget(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qmainwindow.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qmainwindow.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qmainwindow.h:96:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 96 | explicit QMainWindow(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qmainwindow.h:96:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 96 | explicit QMainWindow(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:34:5: note: in expansion of macro 'Q_OBJECT' 34 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:34:5: note: in expansion of macro 'Q_OBJECT' 34 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:24: /usr/include/qt4/QtGui/qdockwidget.h:72:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:72:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:24: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:31:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | AbstractInfoDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:24: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/embeddedfiles.h:31:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | EmbeddedFilesDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:25: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/fonts.h:31:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | FontsDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:26: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/info.h:31:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | InfoDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:27: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:31:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | MetadataDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtoolbar.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtoolbar.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QToolBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:28: /usr/include/qt4/QtGui/qtoolbar.h:82:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 82 | explicit QToolBar(const QString &title, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qtoolbar.h:83:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 83 | explicit QToolBar(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:32:5: note: in expansion of macro 'Q_OBJECT' 32 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:32:5: note: in expansion of macro 'Q_OBJECT' 32 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:28: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/navigationtoolbar.h:35:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 35 | NavigationToolBar(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:29: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:31:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | OptContentDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:30: /usr/include/qt4/QtGui/qframe.h:68:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:68:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qscrollarea.h:45, from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:30: /usr/include/qt4/QtGui/qabstractscrollarea.h:66:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractScrollArea(QWidget* parent=0); | ^ /usr/include/qt4/QtGui/qabstractscrollarea.h:97:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | QAbstractScrollArea(QAbstractScrollAreaPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qscrollarea.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qscrollarea.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QScrollArea:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:23, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:30: /usr/include/qt4/QtGui/qscrollarea.h:64:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QScrollArea(QWidget* parent=0); | ^ /usr/include/qt4/QtGui/qscrollarea.h:84:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | QScrollArea(QScrollAreaPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:31:5: note: in expansion of macro 'Q_OBJECT' 31 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:31:5: note: in expansion of macro 'Q_OBJECT' 31 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:30: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/pageview.h:34:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 34 | PageView(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:31: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/permissions.h:31:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | PermissionsDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:30:5: note: in expansion of macro 'Q_OBJECT' 30 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:30:5: note: in expansion of macro 'Q_OBJECT' 30 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:32: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/thumbnails.h:33:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 33 | ThumbnailsDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:33: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/toc.h:31:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | TocDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:35: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:35: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:35: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:35: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:35: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:35: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:35: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:35: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:35: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:35: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:35: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:35: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qfile.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qfileinfo.h:45, from /usr/include/qt4/QtCore/qdir.h:46, from /usr/include/qt4/QtCore/QDir:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:37: /usr/include/qt4/QtCore/qfile.h:201:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 201 | QFile(QFilePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qaction.h:66:5: note: in expansion of macro 'Q_OBJECT' 66 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qaction.h:66:5: note: in expansion of macro 'Q_OBJECT' 66 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QAction:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:38: /usr/include/qt4/QtGui/qaction.h:178:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 178 | bool showStatusText(QWidget *widget=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qactiongroup.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qactiongroup.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qeventloop.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qcoreapplication.h:47, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:39: /usr/include/qt4/QtCore/qeventloop.h:61:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 61 | explicit QEventLoop(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qcoreapplication.h:73:5: note: in expansion of macro 'Q_OBJECT' 73 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:39: /usr/include/qt4/QtCore/qcoreapplication.h:158:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 158 | const char * disambiguation = 0, | ^ /usr/include/qt4/QtCore/qcoreapplication.h: In static member function 'static void QCoreApplication::sendPostedEvents()': /usr/include/qt4/QtCore/qcoreapplication.h:236:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 236 | inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(0, 0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qapplication.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qapplication.h:101:5: note: in expansion of macro 'Q_OBJECT' 101 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QApplication:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:39: /usr/include/qt4/QtGui/qapplication.h:162:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 162 | static void setPalette(const QPalette &, const char* className = 0); | ^ /usr/include/qt4/QtGui/qapplication.h:166:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 166 | static void setFont(const QFont &, const char* className = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdialog.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdialog.h:58:5: note: in expansion of macro 'Q_OBJECT' 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qfiledialog.h:47, from /usr/include/qt4/QtGui/QFileDialog:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:40: /usr/include/qt4/QtGui/qdialog.h:65:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qdialog.h:65:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 65 | explicit QDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qdialog.h:108:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 108 | QDialog(QDialogPrivate &, QWidget *parent, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qfiledialog.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qfiledialog.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QFileDialog:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:40: /usr/include/qt4/QtGui/qfiledialog.h:103:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 103 | explicit QFileDialog(QWidget *parent = 0, | ^ /usr/include/qt4/QtGui/qfiledialog.h:211:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 211 | static QString getOpenFileName(QWidget *parent = 0, | ^ /usr/include/qt4/QtGui/qfiledialog.h:215:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 215 | QString *selectedFilter = 0, | ^ /usr/include/qt4/QtGui/qfiledialog.h:216:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 216 | Options options = 0); | ^ /usr/include/qt4/QtGui/qfiledialog.h:218:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 218 | static QString getSaveFileName(QWidget *parent = 0, | ^ /usr/include/qt4/QtGui/qfiledialog.h:222:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 222 | QString *selectedFilter = 0, | ^ /usr/include/qt4/QtGui/qfiledialog.h:223:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 223 | Options options = 0); | ^ /usr/include/qt4/QtGui/qfiledialog.h:225:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 225 | static QString getExistingDirectory(QWidget *parent = 0, | ^ /usr/include/qt4/QtGui/qfiledialog.h:230:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 230 | static QStringList getOpenFileNames(QWidget *parent = 0, | ^ /usr/include/qt4/QtGui/qfiledialog.h:234:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | QString *selectedFilter = 0, | ^ /usr/include/qt4/QtGui/qfiledialog.h:235:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 235 | Options options = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlineedit.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qlineedit.h:68:5: note: in expansion of macro 'Q_OBJECT' 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qinputdialog.h:47, from /usr/include/qt4/QtGui/QInputDialog:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:41: /usr/include/qt4/QtGui/qlineedit.h:91:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 91 | explicit QLineEdit(QWidget* parent=0); | ^ /usr/include/qt4/QtGui/qlineedit.h:92:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 92 | explicit QLineEdit(const QString &, QWidget* parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qinputdialog.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qinputdialog.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QInputDialog:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:41: /usr/include/qt4/QtGui/qinputdialog.h:96:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 96 | QInputDialog(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qinputdialog.h:96:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 96 | QInputDialog(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qinputdialog.h:182:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 182 | const QString &text = QString(), bool *ok = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qinputdialog.h:182:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 182 | const QString &text = QString(), bool *ok = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qinputdialog.h:185:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | bool *ok = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qinputdialog.h:185:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | bool *ok = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qinputdialog.h:197:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | int step = 1, bool *ok = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qinputdialog.h:197:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 197 | int step = 1, bool *ok = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qinputdialog.h:200:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 200 | int decimals = 1, bool *ok = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qinputdialog.h:200:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 200 | int decimals = 1, bool *ok = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qinputdialog.h:205:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 205 | int step = 1, bool *ok = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qinputdialog.h:205:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 205 | int step = 1, bool *ok = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qmenu.h:75:5: note: in expansion of macro 'Q_OBJECT' 75 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qmenu.h:75:5: note: in expansion of macro 'Q_OBJECT' 75 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QMenu:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:42: /usr/include/qt4/QtGui/qmenu.h:84:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QMenu(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qmenu.h:85:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 85 | explicit QMenu(const QString &title, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/QMenu:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:42: /usr/include/qt4/QtGui/qmenu.h:122:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 122 | void popup(const QPoint &pos, QAction *at=0); | ^ /usr/include/qt4/QtGui/qmenu.h:124:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 124 | QAction *exec(const QPoint &pos, QAction *at=0); | ^ /usr/include/qt4/QtGui/qmenu.h:127:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 127 | static QAction *exec(QList actions, const QPoint &pos, QAction *at=0); | ^ /usr/include/qt4/QtGui/qmenu.h:405:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | QMenu(QMenuPrivate &dd, QWidget* parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qmenubar.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qmenubar.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QMenuBar:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:43: /usr/include/qt4/QtGui/qmenubar.h:70:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 70 | explicit QMenuBar(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qmessagebox.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qmessagebox.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QMessageBox:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:44: /usr/include/qt4/QtGui/qmessagebox.h:137:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | explicit QMessageBox(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qmessagebox.h:139:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 139 | StandardButtons buttons = NoButton, QWidget *parent = 0, | ^ /usr/include/qt4/QtGui/qmessagebox.h:214:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 214 | QWidget *parent = 0, | ^ In file included from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtGui/qmainwindow.h: In constructor 'PdfViewer::PdfViewer()': /usr/include/qt4/QtGui/qmainwindow.h:96:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 96 | explicit QMainWindow(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:47:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 47 | : QMainWindow(), m_currentPage(0), m_doc(0) | ^ In file included from /usr/include/qt4/QtGui/QInputDialog:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:41: /usr/include/qt4/QtGui/qinputdialog.h: In member function 'void PdfViewer::loadDocument(const QString&)': /usr/include/qt4/QtGui/qinputdialog.h:182:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 182 | const QString &text = QString(), bool *ok = 0, Qt::WindowFlags flags = 0); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp: In member function 'void PdfViewer::closeDocument()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:219:13: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 219 | m_doc = 0; | ^ In file included from /usr/include/qt4/QtGui/QFileDialog:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:40: /usr/include/qt4/QtGui/qfiledialog.h: In member function 'void PdfViewer::slotOpenFile()': /usr/include/qt4/QtGui/qfiledialog.h:216:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 216 | Options options = 0); | ^ /usr/include/qt4/QtGui/qfiledialog.h: In member function 'void PdfViewer::slotSaveCopy()': /usr/include/qt4/QtGui/qfiledialog.h:223:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 223 | Options options = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:319: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/viewer.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/viewer.moc:70:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 70 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/viewer.moc: In member function 'virtual void* PdfViewer::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/viewer.moc:89:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 89 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:22: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:35: /usr/include/qt4/QtCore/qvariant.h: In instantiation of 'QVariant qVariantFromValue(const T&) [with T = int]': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.cpp:78:37: required from here /usr/include/qt4/QtCore/qvariant.h:453:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 453 | return QVariant(qMetaTypeId(reinterpret_cast(0)), &t, QTypeInfo::isPointer); | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/documentobserver.cpp.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qtabwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qmainwindow.h:46, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qtabwidget.h:76:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QTabWidget(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qmainwindow.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qmainwindow.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtGui/qmainwindow.h:96:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 96 | explicit QMainWindow(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qmainwindow.h:96:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 96 | explicit QMainWindow(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:34:5: note: in expansion of macro 'Q_OBJECT' 34 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:34:5: note: in expansion of macro 'Q_OBJECT' 34 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp: In constructor 'DocumentObserver::DocumentObserver()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:24:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 24 | : m_viewer(0) | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qmainwindow.h:45, from /usr/include/qt4/QtGui/QMainWindow:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/viewer.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/documentobserver.cpp:21: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 99%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/metadata.cpp.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h:72:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:72:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:31:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | AbstractInfoDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:31:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | MetadataDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:21: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:21: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:21: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:21: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:21: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qtextedit.h:45, from /usr/include/qt4/QtGui/QTextEdit:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:23: /usr/include/qt4/QtGui/qframe.h:68:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:68:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:45, from /usr/include/qt4/QtGui/QTextEdit:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:23: /usr/include/qt4/QtGui/qabstractscrollarea.h:66:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractScrollArea(QWidget* parent=0); | ^ /usr/include/qt4/QtGui/qabstractscrollarea.h:97:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | QAbstractScrollArea(QAbstractScrollAreaPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtextdocument.h:111:5: note: in expansion of macro 'Q_OBJECT' 111 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtextdocument.h:111:5: note: in expansion of macro 'Q_OBJECT' 111 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:46, from /usr/include/qt4/QtGui/QTextEdit:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:23: /usr/include/qt4/QtGui/qtextdocument.h:130:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 130 | explicit QTextDocument(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qtextdocument.h:131:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | explicit QTextDocument(const QString &text, QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qtextdocument.h:134:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | QTextDocument *clone(QObject *parent = 0) const; | ^ /usr/include/qt4/QtGui/qtextdocument.h:178:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 178 | QTextCursor find(const QString &subString, int from = 0, FindFlags options = 0) const; | ^ /usr/include/qt4/QtGui/qtextdocument.h:179:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 179 | QTextCursor find(const QString &subString, const QTextCursor &from, FindFlags options = 0) const; | ^ /usr/include/qt4/QtGui/qtextdocument.h:181:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 181 | QTextCursor find(const QRegExp &expr, int from = 0, FindFlags options = 0) const; | ^ /usr/include/qt4/QtGui/qtextdocument.h:182:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 182 | QTextCursor find(const QRegExp &expr, const QTextCursor &from, FindFlags options = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtextedit.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtextedit.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QTextEdit:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:23: /usr/include/qt4/QtGui/qtextedit.h:131:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 131 | explicit QTextEdit(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qtextedit.h:132:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 132 | explicit QTextEdit(const QString &text, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qtextedit.h:187:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 187 | bool find(const QString &exp, QTextDocument::FindFlags options = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:50: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/metadata.moc:48:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 48 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/metadata.moc: In member function 'virtual void* MetadataDock::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/metadata.moc:67:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 67 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/metadata.cpp:19: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 99%] Building CXX object qt4/demos/CMakeFiles/poppler_qt4viewer.dir/optcontent.cpp.o In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:259:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:259:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 259 | inline QGenericArgument(const char *aName = 0, const void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:272:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 272 | inline QGenericReturnArgument(const char *aName = 0, void *aData = 0) | ^ /usr/include/qt4/QtCore/qobjectdefs.h:353:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | int type = 0, int *types = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:376:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:389:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 389 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:406:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 406 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:422:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 422 | QGenericArgument val0 = QGenericArgument(0), | ^ /usr/include/qt4/QtCore/qobjectdefs.h:437:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 437 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(0), | ^ In file included from /usr/include/qt4/QtCore/qstring.h:46, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qbytearray.h:296:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 296 | short toShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:297:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 297 | ushort toUShort(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:298:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 298 | int toInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:299:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 299 | uint toUInt(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:300:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 300 | long toLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:301:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 301 | ulong toULong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:302:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 302 | qlonglong toLongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:303:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 303 | qulonglong toULongLong(bool *ok = 0, int base = 10) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:304:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 304 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qbytearray.h:305:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 305 | double toDouble(bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qstring.h:373:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 373 | short toShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:374:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 374 | ushort toUShort(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:375:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 375 | int toInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:376:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 376 | uint toUInt(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:377:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 377 | long toLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:378:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 378 | ulong toULong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:379:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 379 | qlonglong toLongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:380:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 380 | qulonglong toULongLong(bool *ok=0, int base=10) const; | ^ /usr/include/qt4/QtCore/qstring.h:381:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 381 | float toFloat(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h:382:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 382 | double toDouble(bool *ok=0) const; | ^ /usr/include/qt4/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt4/QtCore/qstring.h:1104:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1104 | inline QStringRef():m_string(0), m_position(0), m_size(0){} | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt4/QtCore/qstring.h:1167:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1167 | inline void clear() { m_string = 0; m_position = m_size = 0; } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt4/QtCore/qstring.h:1170:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 1170 | inline bool isNull() const { return m_string == 0 || m_string->isNull(); } | ^ /usr/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ^ /usr/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobject.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qobject.h:113:5: note: in expansion of macro 'Q_OBJECT' 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobject.h:118:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 118 | Q_INVOKABLE explicit QObject(QObject *parent=0); | ^ /usr/include/qt4/QtCore/qobject.h:248:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 248 | inline bool disconnect(const char *signal = 0, | ^ /usr/include/qt4/QtCore/qobject.h:249:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:249:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | const QObject *receiver = 0, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool disconnect(const QObject *receiver, const char *member = 0) | ^ /usr/include/qt4/QtCore/qobject.h:270:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | void destroyed(QObject * = 0); | ^ /usr/include/qt4/QtCore/qobject.h:317:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 317 | QObject(QObjectPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*)': /usr/include/qt4/QtCore/qobject.h:252:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | { return disconnect(this, 0, receiver, member); } | ^ /usr/include/qt4/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt4/QtCore/qobject.h:276:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 276 | { return const_cast(this)->qt_metacast(classname) != 0; } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qiodevice.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qiodevice.h:72:5: note: in expansion of macro 'Q_OBJECT' 72 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtGui/qcolor.h:47, from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qiodevice.h:153:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 153 | QIODevice(QIODevicePrivate &dd, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:46, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qcolor.h:111:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 111 | void getRgb(int *r, int *g, int *b, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:114:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:135:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 135 | void getHsv(int *h, int *s, int *v, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:138:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 138 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:151:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | void getCmyk(int *c, int *m, int *y, int *k, int *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:154:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 154 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = 0); | ^ /usr/include/qt4/QtGui/qcolor.h:165:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 165 | void getHsl(int *h, int *s, int *l, int *a = 0) const; | ^ /usr/include/qt4/QtGui/qcolor.h:168:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:50, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qmatrix.h:109:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QMatrix inverted(bool *invertible = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qtransform.h:114:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 114 | QTransform inverted(bool *invertible = 0) const; | ^ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 383 | { QTransform t(a); t *= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 385 | { QTransform t(a); t /= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 387 | { QTransform t(a); t += n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)': /usr/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ /usr/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 389 | { QTransform t(a); t -= n; return t; } | ^ /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qimage.h: At global scope: /usr/include/qt4/QtGui/qimage.h:134:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 134 | explicit QImage(const QString &fileName, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:136:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 136 | explicit QImage(const char *fileName, const char *format = 0); | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:52, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qimage.h:249:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 249 | bool load(const QString &fileName, const char* format=0); | ^ /usr/include/qt4/QtGui/qimage.h:250:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 250 | bool loadFromData(const uchar *buf, int len, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:251:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | inline bool loadFromData(const QByteArray &data, const char* aformat=0) | ^ /usr/include/qt4/QtGui/qimage.h:254:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | bool save(const QString &fileName, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:255:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 255 | bool save(QIODevice *device, const char* format=0, int quality=-1) const; | ^ /usr/include/qt4/QtGui/qimage.h:257:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | static QImage fromData(const uchar *data, int size, const char *format = 0); | ^ /usr/include/qt4/QtGui/qimage.h:258:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | inline static QImage fromData(const QByteArray &data, const char *format = 0) | ^ /usr/include/qt4/QtGui/qimage.h:279:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 279 | QT_DEPRECATED QString text(const char* key, const char* lang=0) const; | ^ In file included from /usr/include/qt4/QtGui/qbrush.h:53, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qpixmap.h:78:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | QPixmap(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:148:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 148 | bool load(const QString& fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:149:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 149 | bool loadFromData(const uchar *buf, uint len, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:150:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 150 | inline bool loadFromData(const QByteArray &data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^ /usr/include/qt4/QtGui/qpixmap.h:151:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 151 | bool save(const QString& fileName, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:152:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 152 | bool save(QIODevice* device, const char* format = 0, int quality = -1) const; | ^ /usr/include/qt4/QtGui/qpixmap.h:185:96: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 185 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = 0); | ^ /usr/include/qt4/QtGui/qpixmap.h:186:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 186 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = 0); | ^ In file included from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qbrush.h: In member function 'QTransform QBrush::transform() const': /usr/include/qt4/QtGui/qbrush.h:185:57: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy] 185 | inline QTransform QBrush::transform() const { return d->transform; } | ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:51, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)' 136 | QTransform &operator=(const QTransform &); | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qwidget.h:52, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qfontmetrics.h: At global scope: /usr/include/qt4/QtGui/qfontmetrics.h:105:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 105 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:107:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 107 | int tabstops=0, int *tabarray=0) const | ^ /usr/include/qt4/QtGui/qfontmetrics.h:109:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 109 | QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:183:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 183 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops=0, int *tabarray=0) const; | ^ /usr/include/qt4/QtGui/qfontmetrics.h:184:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 184 | QSizeF size(int flags, const QString& str, int tabstops=0, int *tabarray=0) const; | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qwidget.h:152:5: note: in expansion of macro 'Q_OBJECT' 152 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qwidget.h:234:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qwidget.h:234:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 234 | explicit QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::GestureFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt4/QtGui/qwidget.h:925:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 925 | if (!o || !o->isWidgetType()) return 0; | ^ /usr/include/qt4/QtGui/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt4/QtGui/qwidget.h:930:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 930 | if (!o || !o->isWidgetType()) return 0; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qdockwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qdockwidget.h:72:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:72:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QDockWidget(const QString &title, QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ /usr/include/qt4/QtGui/qdockwidget.h:73:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 73 | explicit QDockWidget(QWidget *parent = 0, Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:31:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | AbstractInfoDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:28:5: note: in expansion of macro 'Q_OBJECT' 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:31:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 31 | OptContentDock(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:30, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:21: /usr/include/qt4/QtCore/qdatetime.h:76:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | int weekNumber(int *yearNum = 0) const; | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:21: /usr/include/qt4/QtXml/qdom.h:343:89: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:343:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 343 | bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtXml/QDomDocument:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-annotation.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:37, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:21: /usr/include/qt4/QtXml/qdom.h:344:86: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:104: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:344:124: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 344 | bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:345:119: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 345 | bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:90: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:108: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:346:128: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 346 | bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:347:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 347 | bool setContent(const QByteArray& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:348:98: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 348 | bool setContent(const QString& text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:349:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 349 | bool setContent(QIODevice* dev, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:84: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:102: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ /usr/include/qt4/QtXml/qdom.h:350:122: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); | ^ In file included from /usr/include/qt4/QtCore/qvariant.h:48, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:21: /usr/include/qt4/QtCore/qmetatype.h:121:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 121 | static void *construct(int type, const void *copy = 0); | ^ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:21: /usr/include/qt4/QtCore/qvariant.h:251:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 251 | int toInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:252:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 252 | uint toUInt(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:253:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 253 | qlonglong toLongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:254:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 254 | qulonglong toULongLong(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:256:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 256 | double toDouble(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:257:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 257 | float toFloat(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h:258:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 258 | qreal toReal(bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt4/QtCore/qvariant.h:353:87: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 353 | inline Private(): type(Invalid), is_shared(false), is_null(true) { data.ptr = 0; } | ^ /usr/include/qt4/QtCore/qvariant.h: In function 'bool qvariant_cast_helper(const QVariant&, QVariant::Type, void*)': /usr/include/qt4/QtCore/qvariant.h:448:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 448 | { return QVariant::handler->convert(&v.d, tp, ptr, 0); } | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:63:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:63:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 63 | inline QModelIndex() : r(-1), c(-1), p(0), m(0) {} | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In destructor 'QModelIndex::~QModelIndex()': /usr/include/qt4/QtCore/qabstractitemmodel.h:66:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:66:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | inline ~QModelIndex() { p = 0; m = 0; } | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:77:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:161:5: note: in expansion of macro 'Q_OBJECT' 161 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:168:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 168 | explicit QAbstractItemModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:268:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 268 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h:270:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | inline QModelIndex createIndex(int row, int column, void *data = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:347:5: note: in expansion of macro 'Q_OBJECT' 347 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:350:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 350 | explicit QAbstractTableModel(QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtCore/qabstractitemmodel.h:367:5: note: in expansion of macro 'Q_OBJECT' 367 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:370:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 370 | explicit QAbstractListModel(QObject *parent = 0); | ^ /usr/include/qt4/QtCore/qabstractitemmodel.h: In member function 'Qt::ItemFlags QModelIndex::flags() const': /usr/include/qt4/QtCore/qabstractitemmodel.h:405:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 405 | { return m ? m->flags(*this) : Qt::ItemFlags(0); } | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:52:5: note: in expansion of macro 'Q_OBJECT' 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:77:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 77 | OptContentModel( OCGs *optContent, QObject *parent = 0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:21: /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:538:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 538 | Rotation rotate = Rotate0, PainterFlags flags = 0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:633:163: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:659:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 659 | QList search(const QString &text, SearchFlags flags = 0, Rotation rotate = Rotate0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qframe.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included 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 /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qframe.h:68:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:68:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 68 | explicit QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ /usr/include/qt4/QtGui/qframe.h:137:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | QFrame(QFramePrivate &dd, QWidget* parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractscrollarea.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qabstractscrollarea.h:66:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 66 | explicit QAbstractScrollArea(QWidget* parent=0); | ^ /usr/include/qt4/QtGui/qabstractscrollarea.h:97:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 97 | QAbstractScrollArea(QAbstractScrollAreaPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qitemselectionmodel.h:153:5: note: in expansion of macro 'Q_OBJECT' 153 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qvalidator.h:48, from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtCore/qlocale.h:689:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 689 | short toShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:690:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 690 | ushort toUShort(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:691:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 691 | int toInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:692:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 692 | uint toUInt(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:693:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 693 | qlonglong toLongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:694:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 694 | qlonglong toULongLong(const QString &s, bool *ok = 0, int base = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:695:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 695 | float toFloat(const QString &s, bool *ok = 0) const; | ^ /usr/include/qt4/QtCore/qlocale.h:696:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 696 | double toDouble(const QString &s, bool *ok = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QValidator(QObject * parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:98:5: note: in expansion of macro 'Q_OBJECT' 98 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:103:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 103 | explicit QIntValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:104:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 104 | QIntValidator(int bottom, int top, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:136:5: note: in expansion of macro 'Q_OBJECT' 136 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:144:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 144 | explicit QDoubleValidator(QObject * parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:145:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 145 | QDoubleValidator(double bottom, double top, int decimals, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qvalidator.h:184:5: note: in expansion of macro 'Q_OBJECT' 184 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractspinbox.h:46, from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qvalidator.h:188:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 188 | explicit QRegExpValidator(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qvalidator.h:189:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 189 | QRegExpValidator(const QRegExp& rx, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractspinbox.h:63:5: note: in expansion of macro 'Q_OBJECT' 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:46, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qabstractspinbox.h:79:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 79 | explicit QAbstractSpinBox(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractspinbox.h:164:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 164 | QAbstractSpinBox(QAbstractSpinBoxPrivate &dd, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractslider.h:57:5: note: in expansion of macro 'Q_OBJECT' 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qslider.h:45, from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qabstractslider.h:72:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 72 | explicit QAbstractSlider(QWidget *parent=0); | ^ /usr/include/qt4/QtGui/qabstractslider.h:173:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 173 | QAbstractSlider(QAbstractSliderPrivate &dd, QWidget *parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qslider.h:59:5: note: in expansion of macro 'Q_OBJECT' 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:49, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qslider.h:84:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 84 | explicit QSlider(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qslider.h:85:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 85 | explicit QSlider(Qt::Orientation orientation, QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyle.h:70:5: note: in expansion of macro 'Q_OBJECT' 70 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:50, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyle.h:216:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 216 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:287:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 287 | const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:383:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 383 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:468:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 468 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:470:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 470 | const QPoint &pt, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:472:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 472 | SubControl sc, const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:599:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 599 | virtual int pixelMetric(PixelMetric metric, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:600:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 600 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:633:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 633 | const QSize &contentsSize, const QWidget *w = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:752:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 752 | virtual int styleHint(StyleHint stylehint, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:753:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:753:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 753 | const QWidget *widget = 0, QStyleHintReturn* returnData = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:829:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 829 | virtual QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:830:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 830 | const QWidget *widget = 0) const = 0; | ^ /usr/include/qt4/QtGui/qstyle.h:832:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 832 | QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:833:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 833 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:852:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 852 | const QStyleOption *option = 0, const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:855:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 855 | QStyleOption *option = 0, QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:860:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 860 | QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *opt = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:861:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 861 | const QWidget *widget = 0) const; | ^ /usr/include/qt4/QtGui/qstyle.h:865:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 865 | const QStyleOption *option = 0, | ^ /usr/include/qt4/QtGui/qstyle.h:866:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 866 | const QWidget *widget = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabbar.h:61:5: note: in expansion of macro 'Q_OBJECT' 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:51, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qtabbar.h:78:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 78 | explicit QTabBar(QWidget* parent=0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtabwidget.h:62:5: note: in expansion of macro 'Q_OBJECT' 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:52, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qtabwidget.h:76:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QTabWidget(QWidget *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qrubberband.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qstyleoption.h:53, from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qrubberband.h:64:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 64 | explicit QRubberBand(Shape, QWidget * =0); | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)': /usr/include/qt4/QtGui/qstyleoption.h:112:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy] 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:112:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)' 112 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:128:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionFrameV2::FrameFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:134:20: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] 134 | class Q_GUI_EXPORT QStyleOptionFrameV2 : public QStyleOptionFrame | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:128:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' 128 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:146:98: note: synthesized method 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' first required here 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: warning: implicitly-declared 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' is deprecated [-Wdeprecated-copy] 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:165:5: note: because 'QStyleOptionFrameV3' has user-provided 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)' 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:157:20: warning: implicitly-declared 'QStyleOptionFrameV2& QStyleOptionFrameV2::operator=(const QStyleOptionFrameV2&)' is deprecated [-Wdeprecated-copy] 157 | class Q_GUI_EXPORT QStyleOptionFrameV3 : public QStyleOptionFrameV2 | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:146:5: note: because 'QStyleOptionFrameV2' has user-provided 'QStyleOptionFrameV2::QStyleOptionFrameV2(const QStyleOptionFrameV2&)' 146 | QStyleOptionFrameV2(const QStyleOptionFrameV2 &other) : QStyleOptionFrame(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionFrameV3::QStyleOptionFrameV3(const QStyleOptionFrameV3&)': /usr/include/qt4/QtGui/qstyleoption.h:165:100: note: synthesized method 'QStyleOptionFrameV3& QStyleOptionFrameV3::operator=(const QStyleOptionFrameV3&)' first required here 165 | QStyleOptionFrameV3(const QStyleOptionFrameV3 &other) : QStyleOptionFrameV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)': /usr/include/qt4/QtGui/qstyleoption.h:190:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 190 | : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: warning: implicitly-declared 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' is deprecated [-Wdeprecated-copy] 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:205:5: note: because 'QStyleOptionTabWidgetFrameV2' has user-provided 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)' 205 | QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2 &other) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:196:20: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] 196 | class Q_GUI_EXPORT QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetFrame | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:189:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' 189 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrameV2::QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2&)': /usr/include/qt4/QtGui/qstyleoption.h:206:59: note: synthesized method 'QStyleOptionTabWidgetFrameV2& QStyleOptionTabWidgetFrameV2::operator=(const QStyleOptionTabWidgetFrameV2&)' first required here 206 | QStyleOptionTabWidgetFrame(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)': /usr/include/qt4/QtGui/qstyleoption.h:229:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: warning: implicitly-declared 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' is deprecated [-Wdeprecated-copy] 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:241:5: note: because 'QStyleOptionTabBarBaseV2' has user-provided 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)' 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:235:20: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] 235 | class Q_GUI_EXPORT QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBase | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:229:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' 229 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2&)': /usr/include/qt4/QtGui/qstyleoption.h:241:113: note: synthesized method 'QStyleOptionTabBarBaseV2& QStyleOptionTabBarBaseV2::operator=(const QStyleOptionTabBarBaseV2&)' first required here 241 | QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2 &other) : QStyleOptionTabBarBase(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::AlignmentFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)': /usr/include/qt4/QtGui/qstyleoption.h:273:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy] 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:273:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)' 273 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionButton::ButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)': /usr/include/qt4/QtGui/qstyleoption.h:295:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy] 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:295:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)' 295 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionTab::CornerWidget; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)': /usr/include/qt4/QtGui/qstyleoption.h:325:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:333:20: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] 333 | class Q_GUI_EXPORT QStyleOptionTabV2 : public QStyleOptionTab | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:325:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' 325 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)': /usr/include/qt4/QtGui/qstyleoption.h:339:92: note: synthesized method 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' first required here 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: warning: implicitly-declared 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' is deprecated [-Wdeprecated-copy] 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:355:5: note: because 'QStyleOptionTabV3' has user-provided 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)' 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:347:20: warning: implicitly-declared 'QStyleOptionTabV2& QStyleOptionTabV2::operator=(const QStyleOptionTabV2&)' is deprecated [-Wdeprecated-copy] 347 | class Q_GUI_EXPORT QStyleOptionTabV3 : public QStyleOptionTabV2 | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:339:5: note: because 'QStyleOptionTabV2' has user-provided 'QStyleOptionTabV2::QStyleOptionTabV2(const QStyleOptionTabV2&)' 339 | QStyleOptionTabV2(const QStyleOptionTabV2 &other) : QStyleOptionTab(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTabV3::QStyleOptionTabV3(const QStyleOptionTabV3&)': /usr/include/qt4/QtGui/qstyleoption.h:355:94: note: synthesized method 'QStyleOptionTabV3& QStyleOptionTabV3::operator=(const QStyleOptionTabV3&)' first required here 355 | QStyleOptionTabV3(const QStyleOptionTabV3 &other) : QStyleOptionTabV2(Version) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolBar::ToolBarFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)': /usr/include/qt4/QtGui/qstyleoption.h:384:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy] 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:384:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)' 384 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)': /usr/include/qt4/QtGui/qstyleoption.h:410:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy] 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:410:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)' 410 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)': /usr/include/qt4/QtGui/qstyleoption.h:457:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy] 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:457:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)' 457 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionQ3ListViewItem::Q3ListViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:480:113: warning: implicitly-declared 'QStyleOptionQ3ListViewItem& QStyleOptionQ3ListViewItem::operator=(const QStyleOptionQ3ListViewItem&)' is deprecated [-Wdeprecated-copy] 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:480:5: note: because 'QStyleOptionQ3ListViewItem' has user-provided 'QStyleOptionQ3ListViewItem::QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem&)' 480 | QStyleOptionQ3ListViewItem(const QStyleOptionQ3ListViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)': /usr/include/qt4/QtGui/qstyleoption.h:498:109: warning: implicitly-declared 'QStyleOptionQ3DockWindow& QStyleOptionQ3DockWindow::operator=(const QStyleOptionQ3DockWindow&)' is deprecated [-Wdeprecated-copy] 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:498:5: note: because 'QStyleOptionQ3DockWindow' has user-provided 'QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow&)' 498 | QStyleOptionQ3DockWindow(const QStyleOptionQ3DockWindow &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)': /usr/include/qt4/QtGui/qstyleoption.h:516:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: warning: implicitly-declared 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' is deprecated [-Wdeprecated-copy] 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:530:5: note: because 'QStyleOptionDockWidgetV2' has user-provided 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)' 530 | QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2 &other) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:522:20: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] 522 | class Q_GUI_EXPORT QStyleOptionDockWidgetV2 : public QStyleOptionDockWidget | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:516:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' 516 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2&)': /usr/include/qt4/QtGui/qstyleoption.h:531:53: note: synthesized method 'QStyleOptionDockWidgetV2& QStyleOptionDockWidgetV2::operator=(const QStyleOptionDockWidgetV2&)' first required here 531 | : QStyleOptionDockWidget(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)': /usr/include/qt4/QtGui/qstyleoption.h:556:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionViewItemV2::ViewItemFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:562:20: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] 562 | class Q_GUI_EXPORT QStyleOptionViewItemV2 : public QStyleOptionViewItem | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:556:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' 556 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)': /usr/include/qt4/QtGui/qstyleoption.h:580:107: note: synthesized method 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' first required here 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:590:20: warning: implicitly-declared 'QStyleOptionViewItemV2& QStyleOptionViewItemV2::operator=(const QStyleOptionViewItemV2&)' is deprecated [-Wdeprecated-copy] 590 | class Q_GUI_EXPORT QStyleOptionViewItemV3 : public QStyleOptionViewItemV2 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:580:5: note: because 'QStyleOptionViewItemV2' has user-provided 'QStyleOptionViewItemV2::QStyleOptionViewItemV2(const QStyleOptionViewItemV2&)' 580 | QStyleOptionViewItemV2(const QStyleOptionViewItemV2 &other) : QStyleOptionViewItem(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)': /usr/include/qt4/QtGui/qstyleoption.h:600:53: note: synthesized method 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' first required here 600 | : QStyleOptionViewItemV2(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: warning: implicitly-declared 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' is deprecated [-Wdeprecated-copy] 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:623:5: note: because 'QStyleOptionViewItemV4' has user-provided 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)' 623 | QStyleOptionViewItemV4(const QStyleOptionViewItemV4 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'QStyleOptionViewItemV3& QStyleOptionViewItemV3::operator=(const QStyleOptionViewItemV3&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:599:5: note: because 'QStyleOptionViewItemV3' has user-provided 'QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItemV3&)' 599 | QStyleOptionViewItemV3(const QStyleOptionViewItemV3 &other) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:609:20: warning: implicitly-declared 'constexpr QModelIndex& QModelIndex::operator=(const QModelIndex&)' is deprecated [-Wdeprecated-copy] 609 | class Q_GUI_EXPORT QStyleOptionViewItemV4 : public QStyleOptionViewItemV3 | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QAbstractListModel:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-optcontent.h:25, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/../src/poppler-qt4.h:39, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:21: /usr/include/qt4/QtCore/qabstractitemmodel.h:64:12: note: because 'QModelIndex' has user-provided 'QModelIndex::QModelIndex(const QModelIndex&)' 64 | inline QModelIndex(const QModelIndex &other) | ^~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionViewItemV4::QStyleOptionViewItemV4(const QStyleOptionViewItemV4&)': /usr/include/qt4/QtGui/qstyleoption.h:624:53: note: synthesized method 'QStyleOptionViewItemV4& QStyleOptionViewItemV4::operator=(const QStyleOptionViewItemV4&)' first required here 624 | : QStyleOptionViewItemV3(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)': /usr/include/qt4/QtGui/qstyleoption.h:643:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: warning: implicitly-declared 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' is deprecated [-Wdeprecated-copy] 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:660:5: note: because 'QStyleOptionToolBoxV2' has user-provided 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)' 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:649:20: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] 649 | class Q_GUI_EXPORT QStyleOptionToolBoxV2 : public QStyleOptionToolBox | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:643:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' 643 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolBoxV2::QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2&)': /usr/include/qt4/QtGui/qstyleoption.h:660:104: note: synthesized method 'QStyleOptionToolBoxV2& QStyleOptionToolBoxV2::operator=(const QStyleOptionToolBoxV2&)' first required here 660 | QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2 &other) : QStyleOptionToolBox(Version) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)': /usr/include/qt4/QtGui/qstyleoption.h:679:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy] 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:679:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)' 679 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyle::SubControl; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)': /usr/include/qt4/QtGui/qstyleoption.h:697:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy] 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:721:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)' 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:701:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 701 | class Q_GUI_EXPORT QStyleOptionSlider : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': /usr/include/qt4/QtGui/qstyleoption.h:721:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here 721 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QAbstractSpinBox::StepEnabledFlag; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy] 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:740:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)' 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:729:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 729 | class Q_GUI_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': /usr/include/qt4/QtGui/qstyleoption.h:740:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here 740 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: warning: implicitly-declared 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' is deprecated [-Wdeprecated-copy] 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:762:5: note: because 'QStyleOptionQ3ListView' has user-provided 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)' 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:747:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 747 | class Q_GUI_EXPORT QStyleOptionQ3ListView : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionQ3ListView::QStyleOptionQ3ListView(const QStyleOptionQ3ListView&)': /usr/include/qt4/QtGui/qstyleoption.h:762:112: note: synthesized method 'QStyleOptionQ3ListView& QStyleOptionQ3ListView::operator=(const QStyleOptionQ3ListView&)' first required here 762 | QStyleOptionQ3ListView(const QStyleOptionQ3ListView &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QStyleOptionToolButton::ToolButtonFeature; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy] 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:788:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)' 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:768:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 768 | class Q_GUI_EXPORT QStyleOptionToolButton : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': /usr/include/qt4/QtGui/qstyleoption.h:788:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here 788 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy] 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:810:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)' 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:796:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 796 | class Q_GUI_EXPORT QStyleOptionComboBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': /usr/include/qt4/QtGui/qstyleoption.h:810:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here 810 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ 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/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qglobal.h: In constructor 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = void**]': /usr/include/qt4/QtCore/qglobal.h:2439:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 2439 | Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {} | ^ In file included from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46, from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy] 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:828:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)' 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:816:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 816 | class Q_GUI_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': /usr/include/qt4/QtGui/qstyleoption.h:828:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here 828 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy] 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:848:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)' 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:834:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 834 | class Q_GUI_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': /usr/include/qt4/QtGui/qstyleoption.h:848:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here 848 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy] 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:862:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)' 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:853:20: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] 853 | class Q_GUI_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h:697:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' 697 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': /usr/include/qt4/QtGui/qstyleoption.h:862:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here 862 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': /usr/include/qt4/QtGui/qstyleoption.h:878:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy] 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt4/QtGui/qstyleoption.h:878:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)' 878 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtGui/qabstractitemdelegate.h: At global scope: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemdelegate.h:64:5: note: in expansion of macro 'Q_OBJECT' 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qabstractitemview.h:48, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qabstractitemdelegate.h:76:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 76 | explicit QAbstractItemDelegate(QObject *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemdelegate.h:123:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 123 | QAbstractItemDelegate(QObjectPrivate &, QObject *parent = 0); | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qabstractitemview.h:65:5: note: in expansion of macro 'Q_OBJECT' 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qabstractitemview.h:126:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 126 | explicit QAbstractItemView(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:270:69: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 270 | QAbstractItemView(QAbstractItemViewPrivate &, QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qabstractitemview.h:295:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 295 | const QEvent *event = 0) const; | ^ In file included from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qobjectdefs.h:99:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 99 | static inline QString tr(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtreeview.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt4/QtCore/qobjectdefs.h:101:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 101 | static inline QString trUtf8(const char *s, const char *c = 0) \ | ^ /usr/include/qt4/QtCore/qobjectdefs.h:164:5: note: in expansion of macro 'QT_TR_FUNCTIONS' 164 | QT_TR_FUNCTIONS \ | ^~~~~~~~~~~~~~~ /usr/include/qt4/QtGui/qtreeview.h:60:5: note: in expansion of macro 'Q_OBJECT' 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt4/QtGui/QTreeView:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:23: /usr/include/qt4/QtGui/qtreeview.h:74:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 74 | explicit QTreeView(QWidget *parent = 0); | ^ /usr/include/qt4/QtGui/qtreeview.h:173:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 173 | QTreeView(QTreeViewPrivate &dd, QWidget *parent = 0); | ^ /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp: In member function 'virtual void OptContentDock::documentClosed()': /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:60:22: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 60 | m_view->setModel(0); | ^ In file included from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:69: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/optcontent.moc: At global scope: /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/optcontent.moc:56:5: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 56 | 0, qt_static_metacall | ^ /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/optcontent.moc: In member function 'virtual void* OptContentDock::qt_metacast(const char*)': /usr/src/RPM/BUILD/poppler-0.86.1/BUILD/qt4/demos/optcontent.moc:75:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 75 | if (!_clname) return 0; | ^ In file included from /usr/include/qt4/QtCore/qobject.h:54, from /usr/include/qt4/QtGui/qwidget.h:47, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/abstractinfodock.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.h:22, from /usr/src/RPM/BUILD/poppler-0.86.1/qt4/demos/optcontent.cpp:19: /usr/include/qt4/QtCore/qscopedpointer.h: In instantiation of 'QScopedPointer::operator QScopedPointer::RestrictedBool() const [with T = QPainterPathPrivate; Cleanup = QPainterPathPrivateDeleter; QScopedPointer::RestrictedBool = QPainterPathPrivate* QScopedPointer::*]': /usr/include/qt4/QtGui/qpainterpath.h:399:45: required from here /usr/include/qt4/QtCore/qscopedpointer.h:129:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 129 | return isNull() ? 0 : &QScopedPointer::d; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [100%] Linking CXX executable poppler_qt4viewer make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [100%] Built target poppler_qt4viewer make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Building CXX object qt5/tests/CMakeFiles/check_qt5_pagelabelinfo.dir/check_pagelabelinfo.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [100%] Linking CXX executable check_qt5_pagelabelinfo make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [100%] Built target check_qt5_pagelabelinfo make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.11596 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/poppler97-buildroot + : + /bin/rm -rf -- /usr/src/tmp/poppler97-buildroot + cd poppler-0.86.1 + make install DESTDIR=/usr/src/tmp/poppler97-buildroot -C BUILD make: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 23%] Built target poppler make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Built target pdfunite make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 24%] Built target pdfseparate make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 25%] Built target pdfattach make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 26%] Built target pdfsig make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 27%] Built target pdftoppm make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 28%] Built target pdfdetach make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 29%] Built target pdftotext make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 29%] Built target pdffonts make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 31%] Built target pdfimages make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 32%] Built target pdfinfo make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 34%] Built target pdftocairo make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 35%] Built target pdftops make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 36%] Built target pdftohtml make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 40%] Built target poppler-glib make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 41%] Built target gir-typelibs make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 41%] Built target pdf-fullrewrite make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 41%] Built target perf-test make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 45%] Built target poppler-qt4 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 46%] Built target check_qt4_strings make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 46%] Built target check_qt4_goostring make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 46%] Built target check_qt4_pagelabelinfo make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 47%] Built target check_qt4_attachments make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 47%] Built target check_qt4_pagemode make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 48%] Built target poppler-qt4-texts make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 49%] Built target check_qt4_password make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 49%] Built target stress-poppler-dir-qt4 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 49%] Built target stress-poppler-qt4 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 49%] Built target test-password-qt4 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 50%] Built target check_qt4_optcontent make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 51%] Built target test-poppler-qt4 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 52%] Built target test-render-to-file-qt4 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 52%] Built target poppler-qt4-forms make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 52%] Built target poppler-qt4-fonts make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 53%] Built target poppler-qt4-attachments make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 54%] Built target check_qt4_fonts make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 54%] Built target check_qt4_search make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 54%] Built target stress-threads-qt4 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 55%] Built target check_qt4_links make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target check_qt4_pagelayout make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target check_qt4_metadata make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 56%] Built target check_qt4_dateConversion make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Built target check_qt4_permissions make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 57%] Built target check_qt4_actualtext make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 58%] Built target check_qt4_lexer make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 63%] Built target poppler_qt4viewer make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 64%] Automatic MOC for target poppler-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 64%] Built target poppler-qt5_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 69%] Built target poppler-qt5 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 69%] Automatic MOC for target check_qt5_strings make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 69%] Built target check_qt5_strings_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 70%] Built target check_qt5_strings make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 70%] Automatic MOC for target check_qt5_pagelabelinfo make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 70%] Built target check_qt5_pagelabelinfo_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 70%] Built target check_qt5_pagelabelinfo make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 71%] Automatic MOC for target check_qt5_outline make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 71%] Built target check_qt5_outline_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 71%] Built target check_qt5_outline make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 71%] Automatic MOC for target check_qt5_utf_conversion make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 71%] Built target check_qt5_utf_conversion_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 72%] Built target check_qt5_utf_conversion make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 72%] Automatic MOC for target check_qt5_lexer make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 72%] Built target check_qt5_lexer_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 73%] Built target check_qt5_lexer make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 73%] Automatic MOC for target check_qt5_search make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 73%] Built target check_qt5_search_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 74%] Built target check_qt5_search make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 75%] Automatic MOC for target poppler-qt5-page-labels make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 75%] Built target poppler-qt5-page-labels_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 75%] Built target poppler-qt5-page-labels make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 75%] Automatic MOC for target check_qt5_actualtext make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 75%] Built target check_qt5_actualtext_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 75%] Built target check_qt5_actualtext make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 75%] Automatic MOC for target stress-threads-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 75%] Built target stress-threads-qt5_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 76%] Built target stress-threads-qt5 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 76%] Automatic MOC for target check_qt5_goostring make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 76%] Built target check_qt5_goostring_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Built target check_qt5_goostring make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Automatic MOC for target poppler-qt5-texts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Built target poppler-qt5-texts_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Built target poppler-qt5-texts make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Automatic MOC for target check_qt5_optcontent make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 77%] Built target check_qt5_optcontent_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Built target check_qt5_optcontent make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Automatic MOC for target stress-poppler-dir-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 78%] Built target stress-poppler-dir-qt5_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 79%] Built target stress-poppler-dir-qt5 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 79%] Automatic MOC for target test-password-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 79%] Built target test-password-qt5_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 80%] Built target test-password-qt5 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 80%] Automatic MOC for target check_qt5_metadata make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 80%] Built target check_qt5_metadata_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 80%] Built target check_qt5_metadata make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 80%] Automatic MOC for target stress-poppler-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 80%] Built target stress-poppler-qt5_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Built target stress-poppler-qt5 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Automatic MOC for target check_qt5_pagemode make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 81%] Built target check_qt5_pagemode_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 82%] Built target check_qt5_pagemode make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 82%] Automatic MOC for target test-poppler-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 82%] Built target test-poppler-qt5_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 82%] Built target test-poppler-qt5 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 82%] Automatic MOC for target poppler-qt5-fonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 82%] Built target poppler-qt5-fonts_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 83%] Built target poppler-qt5-fonts make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Automatic MOC for target test-render-to-file-qt5 make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Built target test-render-to-file-qt5_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Built target test-render-to-file-qt5 make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Automatic MOC for target check_qt5_annotations make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 84%] Built target check_qt5_annotations_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Built target check_qt5_annotations make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Automatic MOC for target poppler-qt5-attachments make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Built target poppler-qt5-attachments_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Built target poppler-qt5-attachments make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Automatic MOC for target poppler-qt5-forms make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 85%] Built target poppler-qt5-forms_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 86%] Built target poppler-qt5-forms make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 86%] Automatic MOC for target check_qt5_attachments make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 86%] Built target check_qt5_attachments_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 87%] Built target check_qt5_attachments make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 87%] Automatic MOC for target check_qt5_object make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 87%] Built target check_qt5_object_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 88%] Built target check_qt5_object make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 88%] Automatic MOC for target check_qt5_pagelayout make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 88%] Built target check_qt5_pagelayout_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Built target check_qt5_pagelayout make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Automatic MOC for target check_qt5_forms make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Built target check_qt5_forms_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 89%] Built target check_qt5_forms make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Automatic MOC for target check_qt5_links make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Built target check_qt5_links_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Built target check_qt5_links make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Automatic MOC for target check_qt5_dateConversion make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 90%] Built target check_qt5_dateConversion_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 91%] Built target check_qt5_dateConversion make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Automatic MOC for target check_qt5_fonts make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Built target check_qt5_fonts_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 92%] Built target check_qt5_fonts make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 93%] Automatic MOC for target check_qt5_password make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 93%] Built target check_qt5_password_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 93%] Built target check_qt5_password make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 93%] Automatic MOC for target check_qt5_permissions make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 93%] Built target check_qt5_permissions_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 93%] Built target check_qt5_permissions make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 94%] Automatic MOC for target poppler_qt5viewer make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 94%] Built target poppler_qt5viewer_autogen make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 97%] Built target poppler_qt5viewer make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [ 99%] Built target poppler-cpp make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [100%] Built target poppler-dump make[2]: Entering directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' make[2]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' [100%] Built target poppler-render make[1]: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' Install the project... -- Install configuration: "RelWithDebInfo" -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler.so.97.0.0 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler.so.97 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler.so -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Annot.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Array.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/CachedFile.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Catalog.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/CharCodeToUnicode.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/CMap.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/DateInfo.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Decrypt.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Dict.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Error.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/FileSpec.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/FontEncodingTables.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/FontInfo.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Form.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Function.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Gfx.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/GfxFont.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/GfxState.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/GfxState_helpers.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/GlobalParams.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Hints.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/JArithmeticDecoder.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/JBIG2Stream.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Lexer.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Link.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Linearization.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/LocalPDFDocBuilder.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/MarkedContentOutputDev.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Movie.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/NameToCharCode.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Object.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/OptionalContent.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Outline.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/OutputDev.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Page.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/PageTransition.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Parser.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/PDFDoc.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/PDFDocBuilder.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/PDFDocEncoding.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/PDFDocFactory.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/PopplerCache.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/ProfileData.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/PreScanOutputDev.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/PSTokenizer.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Rendition.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/CertificateInfo.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Stream-CCITT.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Stream.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/StructElement.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/StructTreeRoot.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/UnicodeMap.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/UnicodeMapFuncs.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/UnicodeMapTables.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/UnicodeTypeTable.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/UnicodeCClassTables.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/UnicodeCompTables.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/UnicodeDecompTables.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/ViewerPreferences.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/XRef.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/CharTypes.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/ErrorCodes.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/NameToUnicodeTable.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/PSOutputDev.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/TextOutputDev.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/SecurityHandler.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/StdinCachedFile.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/StdinPDFDocBuilder.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/UTF.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Sound.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/poppler-config.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/goo/GooTimer.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/goo/GooString.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/goo/gmem.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/goo/gdir.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/goo/gfile.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/goo/ImgWriter.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/goo/GooCheckedOps.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/goo/GooLikely.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/goo/gstrtod.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/goo/grandom.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/goo/PNGWriter.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/goo/TiffWriter.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/goo/JpegWriter.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/fofi/FoFiBase.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/fofi/FoFiEncodings.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/fofi/FoFiTrueType.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/fofi/FoFiType1.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/fofi/FoFiType1C.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/fofi/FoFiIdentifier.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/CurlCachedFile.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/CurlPDFDocBuilder.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/JPEG2000Stream.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/SplashOutputDev.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/Splash.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashBitmap.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashClip.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashErrorCodes.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashFTFont.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashFTFontEngine.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashFTFontFile.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashFont.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashFontEngine.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashFontFile.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashFontFileID.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashGlyphBitmap.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashMath.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashPath.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashPattern.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashScreen.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashState.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashTypes.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashXPath.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/splash/SplashXPathScanner.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/CairoFontEngine.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/CairoOutputDev.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/CairoRescaleBox.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/pkgconfig/poppler.pc -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/pkgconfig/poppler-splash.pc -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/pkgconfig/poppler-qt4.pc -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/pkgconfig/poppler-qt5.pc -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/pkgconfig/poppler-glib.pc -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/pkgconfig/poppler-cairo.pc -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/pkgconfig/poppler-cpp.pc -- Installing: /usr/src/tmp/poppler97-buildroot/usr/bin/pdftoppm -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/man/man1/pdftoppm.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/bin/pdftocairo -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/man/man1/pdftocairo.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/bin/pdfdetach -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/man/man1/pdfdetach.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/bin/pdfattach -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/man/man1/pdfattach.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/bin/pdffonts -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/man/man1/pdffonts.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/bin/pdfimages -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/man/man1/pdfimages.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/bin/pdfinfo -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/man/man1/pdfinfo.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/bin/pdfsig -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/man/man1/pdfsig.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/bin/pdftops -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/man/man1/pdftops.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/bin/pdftotext -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/man/man1/pdftotext.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/bin/pdftohtml -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/man/man1/pdftohtml.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/bin/pdfseparate -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/man/man1/pdfseparate.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/bin/pdfunite -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/man/man1/pdfunite.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-glib.so.8.15.0 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-glib.so.8 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-glib.so -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-action.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-date.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-document.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-page.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-attachment.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-form-field.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-annot.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-layer.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-macros.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-movie.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-media.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-structure-element.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-enums.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/glib/poppler-features.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/share/gir-1.0/Poppler-0.18.gir -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/girepository-1.0/Poppler-0.18.typelib -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-qt4.so.4.11.0 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-qt4.so.4 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-qt4.so -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-qt4.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-link.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-annotation.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-form.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-optcontent.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-export.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-page-transition.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-media.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-qt5.so.1.22.0 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-qt5.so.1 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-qt5.so -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-qt5.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-link.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-annotation.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-form.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-optcontent.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-export.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-page-transition.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-media.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-version.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-cpp.so.0.7.0 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-cpp.so.0 -- Installing: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-cpp.so -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-destination.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-document.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-embedded-file.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-font.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-global.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-image.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-page.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-page-renderer.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-page-transition.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-rectangle.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-toc.h -- Installing: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-version.h make: Leaving directory '/usr/src/RPM/BUILD/poppler-0.86.1/BUILD' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/poppler97-buildroot (auto) mode of './usr/lib/libpoppler-cpp.so.0.7.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libpoppler-qt5.so.1.22.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libpoppler-qt4.so.4.11.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libpoppler-glib.so.8.15.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libpoppler.so.97.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/poppler97-buildroot (binconfig,pkgconfig,libtool,desktop) /usr/lib/pkgconfig/poppler-cpp.pc: Libs: '-L${libdir} -lpoppler-cpp' --> '-lpoppler-cpp' /usr/lib/pkgconfig/poppler-glib.pc: Libs: '-L${libdir} -lpoppler-glib' --> '-lpoppler-glib' /usr/lib/pkgconfig/poppler-qt5.pc: Libs: '-L${libdir} -lpoppler-qt5' --> '-lpoppler-qt5' /usr/lib/pkgconfig/poppler-qt4.pc: Libs: '-L${libdir} -lpoppler-qt4' --> '-lpoppler-qt4' /usr/lib/pkgconfig/poppler.pc: Libs: '-L${libdir} -lpoppler' --> '-lpoppler' Checking contents of files in /usr/src/tmp/poppler97-buildroot/ (default) Compressing files in /usr/src/tmp/poppler97-buildroot (auto) Adjusting library links in /usr/src/tmp/poppler97-buildroot ./usr/lib: libpoppler.so.97 -> libpoppler.so.97.0.0 libpoppler-glib.so.8 -> libpoppler-glib.so.8.15.0 libpoppler-qt4.so.4 -> libpoppler-qt4.so.4.11.0 libpoppler-qt5.so.1 -> libpoppler-qt5.so.1.22.0 libpoppler-cpp.so.0 -> libpoppler-cpp.so.0.7.0 Verifying ELF objects in /usr/src/tmp/poppler97-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/pdfunite: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/lib/libpoppler-cpp.so.0.7.0: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: libpoppler97-0.86.1-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.65178 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd poppler-0.86.1 + DOCDIR=/usr/src/tmp/poppler97-buildroot/usr/share/doc/libpoppler97-0.86.1 + export DOCDIR + rm -rf /usr/src/tmp/poppler97-buildroot/usr/share/doc/libpoppler97-0.86.1 + /bin/mkdir -p /usr/src/tmp/poppler97-buildroot/usr/share/doc/libpoppler97-0.86.1 + cp -prL AUTHORS ChangeLog NEWS README-XPDF README.contributors README.md /usr/src/tmp/poppler97-buildroot/usr/share/doc/libpoppler97-0.86.1 + chmod -R go-w /usr/src/tmp/poppler97-buildroot/usr/share/doc/libpoppler97-0.86.1 + chmod -R a+rX /usr/src/tmp/poppler97-buildroot/usr/share/doc/libpoppler97-0.86.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Od9B1W find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) lib.prov: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler.so.97: 4833 symbols, 23 bpp warning: hash collision: _ZN11PSOutputDev8drawFormE3Ref _ZN9GooString6formatEPKcz warning: hash collision: _ZN5SoundC1EPK6Objectb _ZN7GfxFontC1EPKc3RefPK9GooString11GfxFontTypeS2_ warning: hash collision: _ZNK13Linearization15getHintsOffset2Ev _ZTV20CurlCachedFileLoader Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ou2vNW find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: libpoppler.so.97 = set:qdzjZk5JYxVlA7opTuLYhiv00Ok0QJ75ZI0a7yszie5nPvby7wQwIZ5GcK5NvpXxErI5fZwasEaDPBwT3GFkXd69id3zX1xmPfZA4iaHZwdiEEaiz77DqYlmlA7NJdyxu2AVsOgcfkxYCH45oZcpD0rIddWqniNEgF1GZ0hZwPuhZsLMkaD5WLCWXa9KKevZFhMp2rhS3X3ZqsLrOiO57CaMrxnAlb0Tx28Qrta0Yr700BqZtPyyl4KoQeeZju4V9FKfBGEdJJEYglDG9UUOKHKghqCpDK0j6l4kOp2Wn0tkrEH9eVEwZo0NQGUWkxDZEaFEUBwUQqZdMKm2lqgZ6gA5m9ZG1wZ3fdghAQfXG7rZwrgpPMbV6fjCVdCEg7BZyfeJFWg6mIzrWwSEs4kuimanNWTr54RkZhJSO6qF977KL37Bqzxp40f4xBL3G417XJ8BW2cmeKrCNZl2vkKNkrwgoIESZIHau7elgor4NssBoSQa0e5qCgKIZ00s9tAZivR0dgTlW0w3lbwocpdeBwXwHgGj80DbQewM75qnjTMvWn665UA3sAZfBr1KiwhMxmGYnpoZo1WKU7V7ca6fEGBNdoUmXE5xbfX9eP8N2HfS3VOhCuMC1s4q8u6CfguApOc96D4K6ZwrDBaPUWj0xuw3jaSy4pzWdGgd1gWRNfAxFW0sa8X3wlulR6oR682dBvqVAb80p1GI4GGC0Hlg2zx2FLK6yTcydZv294vadRVd552b8MvpCOpXgiw5HBswqet7U7ay48aI7wKnLrMEyyLo1UsgbsZ8Z2NLTm21E2UI6f2ewSQhM3OZjEPZonk1pyR2BOvFj8Bz8zITNPnGEmzi8LTlcbXPk2TUHS5shxBoZIOixaG3Ny4W9WUdf3wSqoAqztZ61EJ9MOpKh930v6ApewZjRoolQZCtuTAr1kmBDUu9ntZ9Er3kR0FaYM4aEMYVAro4cLmBtsmY3Zv6DYruqfLL6adEbvq00wq6uhCKcHo3UVumm7HwMWzqfS7bBxZonAePckfdOWK0Z9hfKEz1QWAgeoFiNWfZEGzioZJK4ZHl31ToaTe49irsXLz2dIP4knUFO38dTTcLjAsn0UpF0Vft3wWCl35ZinTrYxPAZGTPczZDa0gOEJT1u4NJqlW5zklyIGRf8FStRZIgTQ2jJhdc4hWFykznXjt1C0KDAJF6iPSfdFZnu8kiPgwFWD5G4OeAOiaPxw67GwWbIF7SIab5ZxmNPCklDRZERcZp8ZsZzbc8NDVfCTsPHlPZhzLKYqHT1jcH2AbM6UoYbwzR0uVJRNNrahgyRwih22NPBRKh3NYTuHrJj6PTNx4iftpJEUMc1VZy3Z31CkzjLBjMKyWupcnIs2fStKEKC77Lw24S3ui5rLhAVbj9NqILtupgUX2HDvBUXzlvFuvvcnBRZsDW2mEOc0e4h5Q92vckdbC9SstoyyenapqO5BnA39Ywfbv7s0zNpVDFwziWm8QLvAiMZ4l9MvnUVZFiFnk4EFWL1Zjqy3YgUZqx7cDEDsH3REqgDggTlVu9NM243D8ixIL4yfGmgeRnfUfc6KVp7Z4eDnP7mGevyXVxHPZw03VLCAn9p1nv05pxCJVW91R1WCdaA9UktebE9f3HRGRmZhZGlf8xApaa9yMFZF19uf8b8Z7ZL99ckebQTPof3v24CdPOVES9laSRRkiw4ZaF25f9hZ64xj9k60SvZ1gZiQkZmvTIZKkIM0Xbv0gx1zZKtskgBFebLxq3Zm8E3nMZp80qnUKaCQARKxz0o1exaDM8hZ5s7O9OU0Nva82YJxMUbuDC6Zn9bpZgMhD4UJ7iNCFV6L5V8O2Ou4oVsLK74ZkM0eRj2HNXtCdZrEgc9B1UGtfC44TJ2yq2CtG7r7peoXZJijTp1og7CxsRvM11gnKQZA0mwfg1edZkd0wGV6V4daXVQoMZbA2dPbi3Tn0rHAkkBpD6DKb0owAHNLnlYqpQj2P7xpfVxtRqjE0qtw9X17mmiT029qzMayMy2P7Jxo2fxn8ql0tZrbyGrKw12raFy9NfEDktzeo6Uq10ZqUuThiOh48PUMOxDJyZkExPDx5PL5EEti6bC5ihkcqNHN0CRjowV1c40v2jbzfEaxZx8YvscV38012ZgZA9v5Vv4xBA9gG6e5pAXMFy4wlW2FwhQ9E3Zj54fI8G2s9EcqnGXxfMyE7Aac7cEBUbsZ2fD94SwbQz7UuIcwRgN2gdnZoN279Ye9E9qtTnuJ8EBjimV6rxqo6nu2PKmWeSGz7NtXTI8qbqih6wJ0abrsGBZkEWiobR2qBpIfQlFxAXTSCtAjFW2uvnDCwvraMMfJQ4wfMnpgpsyKGWxuewLDPaMQ2BoYZe6hR8iZ0W2WQ46mRPg0inM4UQR1g1CsGDVbCPxZbyUwcyqPFZ80QjgLSp0cUZ98PK328wrAuiVDRnSPf32zUaIDNtc45p2lLS84YdADkak3wNv8oaJa7ieCUn0nYI95I1Q6510CirUVSeNziZdyJwArR7Ru4vHctWmCbj9WD2hZhQb8uI7xX2En4UZ0j35xwgw4OeQU0qhJ1IjJ9gKCCZyicMEZHG2kGCsXYm8ph7DRA88PQB30Trq2ZsnmTjAmGbH9PH6gWEU8jaMcao16gg5oZtes0sfjsv1dBNdqT92HG8YYNZichk0e1dsfpHspk9jyJf76wAg2EcogzL3zSjXA6zVatgOwZzHidSUYmX1c6xZiAzESTIZCZ2WS07LnnJz51tt1UgeB23L7ZGyFoNlM1hGH7FUkE9ne0VWAOug2kIp5u0E0xAatHxvZpgJUp61u74zb44yr2EQiSqa2LTGwNnrFn0ZwmNwNfEbMVsX0F0ZGq06ByF6hnm0RAq8MyqLZsGetizgrBzFwqlsbEZDYh2nGzkzFZm86EfFjctyTBvke2I5aZ6YGzxDznc7eu3swMl5c1HNCcjDwCKYffGFz8ryWZD8hmNVrD4eQcXkAQNSZAJpnN31ycIEDtNoZK6ZfAml11JjQZeXoluswAe63NZzgPDyhW6Cz0nrhPxGxKCf0Z4AxamFGtGpgWh1ub0kNkiRyUQMLynGVRdxjZgaAhbBgyYKBg0D4q4VDnIXUq8ZwZrLC6ZdCyJa4ujwQAd7Fxs8KbYJAy158AZsm0QvZ6SO0alf5LbTchpfmVriZFKeMdqVZ3lPZg7LEficXk0MjXF68dBvMwzczivZhlwRur5KQhQnlUxhG6qwNAE1vjxP31qY1nse6oZz2MMGewt8c4Q4itZD3HZdUMv32Z9qhaRZ4qjZATTEIyDwZFy8Wxwp3WHcXQHZiJmKZrhuZHjoD8jhjbwoSCZst2922t8UaEkao56MtZrYkFYjZG1RkawepK5ZAz2nu8DpdwZdheoF8azmRLM1rjD23tbzw7izQ4aLw7enlI75VtS0DXckZKgWAZB5TEeaO66K2S6mshk4lbHe0illHorTo5rkwINNbIig3oEH8o8ADf766EyNZ3cTZ0yG1s2z1Hajha2LpJfBlBoPmU9CycifW0INa00HlcJpEkoCwijktuGyebaE9scOac8E5Q5oF8AKQFc8w9fBVAygRyd3EdERuvN2bFDDVkhCGd3PwpPdFl9zyzYgtv14yaSk57j9Bqkrcz9oEpzi3CrQOomOc4b4YqmMsPu4RflHloGydy63MRqEQRmPBvYOlml3V7FrewHqMscrB8XwwZlZfEc9C3tWZcQHi6rdvcYwUCr6erjE15hXofWdAVQJZtC8zpLve6Gqsegf4wJz7g3b8DbgLO1AOOE8NuwZ7afUjpgqwkoXQUx1YABQIOOgmNNSBVEgWMNJ4KzVaOfAlXZAbpC558aB0MZdu3gcfWKJoE4XlX5Ynp0MOsUZb0fK4oKnxKIEtGfBAp2kdAAOA5pWO4Y0DXg9INAJGZapWKRuqA1BH2WHXy3bWoFLZopd3upagq9RYYmGTMyfbUlepxVZcLfUB14mTKX1InxsjaxulZ1faaWea9qvnFgAZdeuoEATpEAnvdyelT8AQh0wd1bJvRBAJA38NlWINlwjqNJgdzaP5P9Fda4PlH4DtbTPM77rZAH4AE58HCv6hOFSWZ2kZAK113z6L636c1f5JesstFwhkFTMCCWdlmoPkKvN9fjm0QZ3tVjbp9osgjUNKARBwIRbQjY40StW0ZsBW1NBOgvuk4jSvWlw90DdcfJiZq2Z0ycaLNn35ZIp1refTw4HvLO1yy5wKztnZxqYcAAmwNtPMZIOcaxdHvxiPKa19IoWz0BhGbm4Cw5elQyoabp1EFCyK3vCb5Y3IWYw69d8yIUX6qY5QxybRBmluUXl8h7kTZnHpwksLWaXc0UQOcXqwuVQN9DOrDrp0tZgP801iBp3Q6EAmVcmEu2pPdDX1JZrmJBxxzMVEmKp6GA8WXLhVzlJjZiPAOd8ZGjoSYwQKNfCC2NdUr5bKFhxGbSvel8HgxMOfmgo1nV8gYYzAvW6tr8EUCwWaGbaedzR8GDkXYl92JO3g8WRjOiOHJDd2W19I23f0ryOlN3jG2tizgVs5SlqlmUGcduT7520Qu7a8vNJ8UJBKkHF8welffgKULcipteD92SF0kREHJ3mMg677YhyFGZroOLVyRT9NSjXoZbTqf7Zyo7UZ2PxKUjL2r1tbnL4rCugBSnM1tTsgvXrf2DUt2s7QVIWWQBsNeZKCISdioZ0OaYEAq9do8ovqcjcTbms4JsNWbFiCxFTA94xC5BzFvQARAGRd8ploOLT9sEtxZ657UghNB829gWgh4rJfP9USIAEKSSz6dWtZwzSpgEWexmQuESWejZlwWkZga7K9B3hy2b9qKE3HjPrh2GsNjpbNF5Z8EGRri1QhCwf8zHRtWCbH0tXvHaNZca26p8S2Kou1oAINB1rmFc16HhiFiHD9CNg59aS3IpheulxbknV1b0bPI8FO0l4JeGANwQd0QW10EoNq2949mcFGhzg1ozdJuDzuJZgbXGbME2ZqQA0z5cOSkwsURuqif10mFGoeEx9ZgGzcSQCUi5vbCynZnooqqthhmgU8WtF9dlEqvr5Z0A3Y2MBDv60Ms1b3YS0umEb0sn0FduVrhYIzTZiEpFUxYlOoRGKQRAvLCfprdFkAPgkRaGmBu9cXHNVs48RPx50aSoTdjkkh6hVVd2GhV3uvvZHiH2tas3YH9GgvaQrD9yI3OuNZHakbimGccfTDdMjhk7ANi9uAHg4qBk1abeYv2OJVmdKdNBxgh5YJDI5J228AWl2Au9221W3QDw6tw8DcnUaRMCTpRa2Mr0RyrHPMPLsX5DC40fM4trkMfASCrZy8x1y0OaUIr5XagAVeuS37t8bJn2K9q40oYo8McP7gczmARlvZyfm5uEva1bC1T58apSQCdmwnYy5cY37ZFKbxJqAZ6B6jH6zOCkyHhY0aCsxscxd2efZtPsNkiZhdEa3p1zmLAi3oDXzkkE8R7U99NwjMIEdODivdM23S1rrPF2btJha57h5NDOhnzwg0UemQWggJ0CeF1W5vfiP75ZqPr8I2HIOjwNZoKZdhsEWE4Cc9bZGRw3t608whf4O4wQiaXwi9RhWHuqSwj88houAJLaG8MPNVHa1nxa24ekjoMVG1gyknv6gVblr4x8lSUSaUUtufmrJdVmzGAlUqxecbwxkQ94ZF2gZgCvRATlyeS3eSVu2ZcYAI8JMEgYT5SaSFMWFIOCCDTd3ZocJaLKigaZr43DpPnESgc5rfBwWnffpghaD4PEbYX16EWgygXGObRHo3x9nLUsZfzQURnNCpQu3RGqpSj9Raz2plJoMZDD17oszpot0AVarV0sbM1EIfYjTMwMJLnsGZFZ0UoIrQqalYSkY0q1MJocP9LJ3X5qJZtxMAvQD00dx1ygVvQZxFl0S4wcGo3NCDOQyZKoZ3VkGDM1lTOeAr128YvLcxCW28VCUkdWqwxaMhnp1yCUxJHjFwC1srMA53rNROmo2xMT1YhwMuAhrMRWUCPBZim97shoIUpXdgd1x92F8gwqDlhvz3Q5WRxmpaDGcdllZApkZ1svwpjsRiNMsRylRoNFW4diwLGocX2Z2BzE4pU01xcmpMATBas7dglMyb9EItYcfM69KoZwKhdccLk3QGHnu4qVPVz6QnAxMveDsdskUzhO1Y0ChsZIdflNlVicRhV6bjoBiXOC19aE4saQW3OJZqP59Kfj9shOQ02R37Mw35GgOc1Se9qY4YbFk8BILmMp1JjZwwL2paFBww3o7cV3T0OVRIRJnrPMcg2EeOPo8U1aa3uzY0SxYpMU3IPaBc8EQuek9QVrq5zIwHelwUbBr1oEMe28sbZiN6Zk9qfN4iviUsMkJoBsfj4vGGEY6Hut0RAilq6eG63V6EbpGaZ9T0q5L0G1BIis9IC0sd0o8ZoJlYKkPUKLlZ6CgDtTDfh2QYB5BdQqtWi0mKPBmvgFP8DvvmfeZbOkUOCMNZ0Z6wMcZvgglZ3BZx2kSQdybcO803PirFk0cQAefUUqgWQUGMCew77P4C1H6gPapkaNZ1KDtg2vvgsEAJv1a8bpsbPEUfDZuh53xHM73VHJC3N0ic9nwyNlhikguGbh8wbwgm5rLlTcEBAg0DUZmJCYsM1QzOggOkPVX0Mn0otpaZm1gg2NxVOEuBqF22NI2K0EZwEzURtrZ7uwcnQZ8izBR6oQqdoZso3AbxK8joM0HTfzfnVLb1qWbB28KSOGt84ruvyDu0pjT4RN1i0SdXCH6etHcARHqXe0ceMv2IN0o0lShypjtm0DCKm11bl3TFxrHdfovfNGQ2oPyZpmWNJ5yxXjt9uVyPczpSpuVkys8YCpwFJj38T7n889ZgUcYwi7qZyUXx5tG68RCN2CA6IC8mISokr5llq9kqNW08k4t23CdEtZFwwp61caWvTIV5lhjzXvWABj5YmNZoTwB36TEFG0NgTdUOlQgytkcOZ32lLb0tx7SKzeyc2IudPcNsICXaFERqjMjVQNE3ZJBsQTSkxg5gQPuZzPk6TZbz27XC2NgT0VR0Ecp929cTDfyR9kAP5MQl7iZ8njP84cd1kwfV0Y3BLHiY6VcmQ54gtzaOPiMgfmayU1xjw71EjDZrgz4assgqWC8fOkpuLzGGii7WfZG2kKFLaNyZF7XbeFZxpMsxOh4S4XMxB23xnHjp6LaX6WnjAGZFs4akjbecOJ79lyENwZsJ5jg0ofKVZpVZ4JuP6qdwKr7GeUZEng4gHTbmaH8W2yTkY5yhopOHNAXKypWZmgpJ1yU0Z3pDw92R8ZiYj8tV6J3ACMa0SzZHo737lxHtcwpwCNInkj2RUrDMDr02ALubjbhhzQSiy8bNQ2PRwZr87Ma1NQOVpeZzo5aEKA0w1FSGi2Lg92lnohpiS4FZK4jxvP55YHEVJZdDSh3Hg9lNCf3ZqjtOg6QuggYQ58y2aU3SHt35ZkZsXzNuWi0ArUjvVh1blXU80gb1siS4mvgrJ9DAi6WOgVZ6XdGZ17f7YjpvaKr94WLFviNbkG9QRC73Ihq58o9G67g0g2U4gYHoTZGDL07NyJgVbkHvOkw3iXUoBsaj4UC121ZCDaF6Ij46ZihKN3Cb9le0ucLVTztRGoFj4Xm9rk6MkgQ5dDXQS5Cvuvwy9ocptClUazIslACyG90Bzjw2UWwJr5zyXezqvootBEMX7fZ4LjcAxxq90UMEIO9liEjBdfU0RPvGWSVUoK80760ZG3UbS1gAA32V544hw0H8eqERZeDHOeVvGmr8R0ducwLohaKdr1zZoFy59AZhmzJezr4i2rlv5MLczXCGdxYhDCW7wMRZIZ3g9k3NMU7by1gA2YAHbUxircLUmiECTLvslEvVSUeOoeIGkVrgV12EsPkDWv08e78cMSCZaQ8x9zuS3Ie07EAhz0hHEPwBC9SsaUcdseXxSA4ZaxTIIiN7JUEAIhgGUXZ0UbZm2xZp94F1tZkiGn3V65Xw7BdeVar19IhJPx88WX0uZ4Q2Vd8WWt0NNlnLfqNt9ZEjcwFjIL3Q6RgZJz60URRPdHB1M6zdnMWzniatu3Mhwgv66UgU7LsZBIEn7ooZk1rurlam0oAaWYRmVPec8MSxVOO6rCuHrBsdEau4C3ezGALRuScDAU0PEesZajHMxFaj4lS6v9otxUZBho9I2utEZhlZAfuuS0t0vjuUsCN3HKxrGGxl6Z2mttk94BtXHf8KmCaZgXOQO6TeSuqEjx55dz6hw2E3ZAmK3w1oT0a55Wty0tTvk2A7b9bDgxdW5KmneiZGDAkuT8qOXZIO8uy55YbK5iffMmQvZBNjAi7hDw3vuALD48iNUqw5zgTMF1D50CWGHdxvrVdL4u61EXOOPd41C2zOzKO8ItD6f85iow9xTcfqVrbbwlqx5v1icVWL695dBMKaJagfIxQdf0DVUTyM5bOry4fMnh9VYw8UHw1ht0WKuchniI7oR8EMBnQfSKGkudVR5AKWc2HoZuzPcV0g6sEOZg2l3DthhQ1ZLde9mZFn1aeRDakMwM3un3ZcIh8xJvx6BfP9ksvBjnyJFlZjamV37eNuZn0NfxBjEuvisComkMT2ZFZxAZk1pr0IxEYxBk6zLOx0T9YfOdN4R7EtvMUMlXxN6ctrTWPIBUsjQENZeBxD4g3roV2ql25afxx9cDZEZbNRNxUUx3idyY1ObyUwoLEhlarQNqQuR3ZpEbe952lZJsfAj82wxe0y32aoN6vYg9CiJ5Ail2Tq77HvRXh1AGrLzcll16qt37AbjgNHpt93zZlg9GpnME0bcfRMnHEhtIT3xGLVNpVT123eKu45ThObaAmZylh0U8tfbTSfDTXrk2dgKLZ8Bk8d4ZE49L9872Gp4d8vxQZsKFJFcszUHRMKgx8Zpb6fVbIOfmFSzm6o36Dnp6c4FBjh5CFia3AfsNPA0FmWKzUNUnzXK4eecRuUbZhjnY1IHib5oOd5QZeL0GGMtYZwrmJnHIQ2M7LLmSJ0qHQZ92YHkftWluQPUrsAJ8IZu3PP0s1Zi6sd7W8uz02ZGhXiMgop95Wsj5urT91UlhOh1cUUCCF10aw920cV6fZoWIczXbE3WPpl8caNXgNWb1GfgX0BcILqRE7aCHC8wY1aKXUDuHBLgwCsF1sZpO8IWFJ3zoF3ey2WDWprABjBQebjc4ZvZbxe4dQRFoHDgbZlohoxoqcd8pNs2zyAhtGJGZ8u62K0DnXKQOsWW1tiA1ZmzsQdD2V5RKXelmcXK9wwowhw3dzhQurXvZD9tCTrRka2TLisDVcEqakdq9XJLPvqb9GRAu2HBIz97dkcEJ4QVX4mW0CKQgFeZmH6r9SkVxVg5KODi08S54NYq1lt6rkvTldlmdMifcYTU3sU2dT2FkH4Y7Pm6CRbjFZuNp15yH4hESo6yJ2durwi1fADey9nN5dpY5RsHY0TyoDY3AF61zVmyrhzZboi0Rhh9cwO0m8a3NsEJMYYpQaU4ovamIydVNrhr38wKokVPCAE0mcGtDa9BiNDSNPNII349hl54ZtZjp4XbT3dWOAofTpgjeXnYmfNbmNwRjZ224ZpkbQIZ11bcjkZkaSYNwLTcC3hdtg2rVH98QzHgzXQq8dQy3NgTvH3dAdmsyFYVDL2KdIS66ao0k1wQvZgD9pvfcl28mVflHw3QC38O0yZtLK2TcROZ0Z4C2a5jBvh9cmx8i82QcKDLLcUXNRZIEZFHgobUz5aVvivK2PfE3bBYr7yWCHC5t9hWeJKZAlKPVwmwe8iqkp7z4ptqakj0tjHE39ZISda1UhBtxdDZAsITb0bbyjL5ofznXtEg2g83Up70tRVxsSAz0RXMRbUd9BKNWKSdCCGSxDr04xAZ3yvsKMmjawco95YCdyt0z7TICHZ5nDLj5X9v3TtS0BLf7YvQx10Nl0xrPxMZ0EiAgsFszjlFZaeAlD5tqiwZ6AjdEAf53stkgTCANYW0hZAR157ZtZrzCON991 Requires: poppler-data, ld-linux.so.2 >= set:ihL26, ld-linux.so.2(GLIBC_2.3), libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libcurl.so.4 >= set:khZKmuO2BLGmoBdrq2, libfontconfig.so.1 >= set:lhrohCdZj2aDzRJ6gZyJdc0SVpug7529R3zvxO80, libfreetype.so.6 >= set:lgbRAdPOYSSUsHYJV4ok3GQZ3eIYm019NnZeVIgAy74lK2, libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GLIBC_2.0), libjpeg.so.62 >= set:jevZlZyd1MrHuky7qUx6GQbn4MiShRaoRnDHAfXv, liblcms2.so.2 >= set:miZ3tbG2LvRwPiGGhKlh4PB4IItgB9a, libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libm.so.6(GLIBC_2.29), libnspr4.so >= set:mljVy1, libnss3.so >= set:ni2Kx6ald3KArFdguiZbKJbAnUxZe1BBXC3YFSDKXOZji7MHmsktuO1pMiuZgjuJ2ZncMvcebhVImOhge8Ll1, libnss3.so(NSS_3.12), libnss3.so(NSS_3.2), libnss3.so(NSS_3.3), libnss3.so(NSS_3.4), libnss3.so(NSS_3.8), libnss3.so(NSS_3.9.2), libopenjp2.so.7 >= set:lgwIacCZc7eAN22kQBPp8FfYQpfRZH5vv03UqlThVs6rOfss6, libpng16.so.16 >= set:lhHMixN8M6530SEVZzYXfYgFsEqRnzIaIczzaFz, libpng16.so.16(PNG16_0), libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.2), libsmime3.so >= set:lhirPpQXlgtahZcacIWLHScw2qMuW0, libsmime3.so(NSS_3.16), libsmime3.so(NSS_3.2), libsmime3.so(NSS_3.4), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.5), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.18), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.9), libtiff.so.5 >= set:likQdoCJLJxPiZc95, rtld(GNU_HASH), rtld(GNU_UNIQUE) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.b4ur1X Creating libpoppler97-debuginfo package Processing files: poppler-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NxAXxX find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.b9xqyW find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: poppler-utils = 0.86.1-alt1, xpdf-utils = 3.02-alt6 Requires: libpoppler97 = 0.86.1-alt1, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libcairo.so.2 >= set:mepiqUz8L2C10jgwpgtZ0Q4M23nMZ8Wax5qt8RwToJ6AaXR5SFsgeCCMfl92mAbZKvfkEMiAYSUFqGy2M69Kf00f7CZvgz48HDtmVTKZ5vPJZvYlbdjR5MfiIMZhPfZk1NgcJZ24Y57H00j5WsYI3E0WAzMifkVIXt7ucc9FrsVEeDxPYcfD4ZwEP0GcHSb08i0wZJjSa0ef8tcEhrO53CX7gPeqpNc5rZKbrUrp7SLd9FZbB4uU10opgDxZKCTUUhQ16hS4xMP2XrRf2jp15GYWxsRA9EXugrqZtgQLOflABf3ouzIcbu5ybTYD1CZl04, libfreetype.so.6 >= set:liJiXBEBEvRwumnO5roeY0, libgcc_s.so.1(GLIBC_2.0), liblcms2.so.2 >= set:mjZ3tMmSn4PNVM2, libm.so.6(GLIBC_2.0), libpoppler.so.97 >= set:qhv1lZjeFanjUlfSx5xSwg27fFLLoRFZnZBb9TXDqp0Zevq7ZpPkSkp3BS96eJyLwQoH5ndyoGfBLq5rk4hW8mmnyqGdbxsr08tEATKRZkDv0NWpqoSTJaDE7d6ZrUml1bUOcO81HHgxpJCQcfwdiG8XOVYBKQDf951XRhukCOQaXZz07A80zDxyAoF3FAeA2NH3ZFR16g1NuPzhtaxONQmOZ5qZhkYdvjCEcsOGAV7QoQ044NYTt1nEE7oY6minyuj4u6mmWQUtbKTqu3KSeyO8xxTcp2glKXdfcgWATzQKhk5gDemeicjU1vKl6plUA4WN0sAhwe7Vzq64PrkxCthhWLQ5ja6sgpgTftqby2jlBwmmdP4h31cZIkedqgZgpl6VwsKI2nRxf8nEpaNmx8g4ukAEearuWYxqj5Rn4kMzJZwPsu9NomP1ecvtZBgNkR8AV3WZhmSCR0YAhYt3BTVndfpIJ1fC460r7a4V07qgpjUoFKc60UxiBAxU8NohLMCwV2wth3wfH5s08GLs7MPesC7xvtjXtQcHaIvrep0sJ80rtX7snpS5Ii7KtGAWSR92vz0tze9diIufRqXm4jEbZ4p4bjMUyQoJfDd56Pr3KIaz2PXqRE3rylivI4v7LspIUPDcCpx2PZoiKFUaLeRWNemL4iZ31iW3gh71dXjPOtRx4HMKGoC4gzv4bWlXBZHGxcT9rFKp1rvAZsHyp3BzlGnkn45SU5IeVoFf7u78PrST2Ov2TAtct3adIwhMkqLAIMeXmnMpY23ElvdXyslUX0BqEZG5tnP7mk92zrjbAZcXyiGm35gTTPvRAnxWKPewfbt4, libpthread.so.0(GLIBC_2.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.9), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Conflicts: xpdf-reader <= 3.02-alt5, pdftohtml Obsoletes: xpdf-utils <= 3.02-alt5 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1fAHLV Creating poppler-debuginfo package Processing files: libpoppler1-qt5-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fCrTrZ find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) lib.prov: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-qt5.so.1: 1004 symbols, 20 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JDZRwW find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: libpoppler-qt5.so.1 = set:ndqJXkFMvFd2pIRpuPpZDwtwDJZDtEZAbOfgjs66eIAtG5Oe9CbhW2OtiZ015qiclDynxPvmkOEPX8Y5qSVC5Qcp8QFri9jt1imWDgNVURYfbryYgdU4gZxfytY4f96NZxadkYjc1y1vcofIFtWA1QXW4XH3qtaPF4U2j4fltq70NE03OPW1ZaGQxHpxVgLJ3Kaa3jw5DwMqpmc56dpbikOfNBLNKu7dPMA4FHo2Bgi7AadPhT8EZnGEL1ob1rPtIX7AoE7qLZsWsGA7gHoL4JFoYkIWOatEtt28Tq1H6PuRggvCHhzcIkuOaf1Z9wuMLYWIKiclVOUepZmCUwZ7rpkG9SW664qhwsfHRrIMSdS7iiqfuL39thg4e7xshpckfJUVBLGcsQQfccdWDoR7m4niCT2eZ3Co1ZrCpJxFuZ7F0x5htLtIRkPcZ8hOKgM6XOcIw3CXemjxJ5Z56KRf5q4p352sTxetpqfbtZ3XUBfenu52DrjSHwmMRKusFboVxdsvgyPozX5NyXlPOJ5JXXGG2LZcdnZiiVvTDxH7BoNbyJyVAZ62oxwRmCliqmszZAbgZuZyJuopV48V6DDh3JxzcsfFrMW644DANDSMZAfyiIzzQVZw9AZIhlt1bAlZJzBmLN5M7a5BeWrp2dFIbm7HpNmVYyhaPDvDYcZh4xucSf5ctx7xq2kSa8VVeOjZKoWcbjkFA1OmF89TuuotilaKQD9VwLCqZwZkstmsyuTra1xjvJa9c0jR1I6xB7iwnPv7ZmdkKRWqegirhwrg43dL1V7Z2hjmcp7HgEATON4I2Z0Y0ZhrHzOcARD8PUI3DYKYxAAPZqUMnTdQnq2zsisBZJmvi9xe34WsTVwdFXJQQydTxUQ9yIr19qaiG3BHj2KlNVMi703lH5nqtwcsHjxtkYw41jwp70BOVnZcckEVAC23749fPuCfDBjjVUs1esYFetDP4MODkl9x222lN2Z8IJRREbQKzcWpHj5wblBoZ5JoEVldFPkbHvaeQrBcUiZ4ZeeTYhtuPUMkGF8TZjUqiLEuFtcURc4wCDVbFPjxJ6rJaXtrtyXivom6oGdBFZ5rWRmDRD2daNom3cevn9ZF23ylSdgFGyWXIm4kZ0olKkW8olAmf42dKcjxWfUQUmsFT0Xxj3y6ZGvby1YUSHVxZolItizYsEcYdqte7FT0naF9MtZ4MXtXIQZEEYSGmPyXbEKo3LqNGh9XjDhSXirIhOAk4kytr5tGX7yvhWqvQksODrExA1A2GTY8Zk5ami9j5UNmWZgl2VOS1MSU2mGtNq1FaBL1MYSAAKUrnZJrEmlDN5KZtvp6NoaZb4K31UVEQyVZJHRQiq4Eq8iHaI1ymnV7kIwSELmO9Aka6srtXjGQOW13piNuxBAmxmVZBbYHqlfSazxZFjqZxNgcllRGbmI6vgJIfgfWRbFo7CmOAqMn1ZDZABfcYHa31vosGD2vyfZwuLIujYWKxRTsLPk9GbvAIFMsTZruDcGYCmO7BiIGnukIJC68id3HYZyByTGX5KfWgZIJVU74Sp2UIs1sgH3q7Dx9SHrDs5Eo5B0lCTZphs8EUexTgZuLEmbRhVF0o1saGD4XwXxZgqOly9meLdtWjeD7QxmJlF7F7jPHYY3Ok43x0MgTnEIEHHEgl4V7SDZgAsYihWojuo9st4KwfwyNjobJdpvs8FEyqLgiODmhwcju8pzInzrdqSuyA9yjqNSVu8kPa0i2mFsdqRDR7wZAVJYYGBigBvreUXdONBZwle3nWQXNfMdOW1K5DQXziZvyINE2gS6WLjwWo8DMhuc34hJ52uzSyrbB0Q0pNNY9ddpa0sB6YPyqTFqyQAzYJFdYpEDK4rSZHXJqjPUrymzkn8q7IYD5cQeA5BRZIAEZzbzS71AwIZ5uvdNXVLa84LnjB7yC7gQZtwD94p2TGNvVQr8ALe9JB9weO0ZhRFNl0 Requires: libpoppler97 = 0.86.1-alt1, libQt5Core.so.5 >= set:qiG9aYya8ira61E7FOHUjAV5IsmglZ0J0pyQ2K81IwS3g64V5bT4ydiZpUGp8IjZofuhXngaZlGSZDV1aV2eStBRhetKA4nE07GiivYeMVOlc82Dy0uTHv6TFQY2T00eDleCNiYbvHiZfQA7n0SPnuhjZjfo8sQP7MDeZyxbuoWZ7onbFyGifTMzZtO1ZGW61shXdp933xTVEK53oyJdRcMxHgouF8kqVzveuuqEYIZ5nwQYLKSDVv3bMk49ZxMZAl23lS89G9Dy3wtxsQN5rqQkAKCad9NOSmi5ptfwkuMk0yBOwtn1hZuGXMvORirLNnwdSMRPU1wqQk2HGFbarhQY2VLKvi1UU3dCVdpg3OvX1UuvaTZH0dj0m7vXnY1n7nNLs1j8LLSVoY0rxprKf2PZeQYmd8G4YErQZDuaY88e02hQLL1, libQt5Core.so.5(Qt_5), libQt5Core.so.5(Qt_5.12), libQt5Gui.so.5 >= set:rkQy8iswwRXNxGtisRQYW8HxHUZkW6FR3V8aewyGOGVRpWCUnQ541vI3m0La5Eve4261yRMWZovwUyhfNUqlHcopIMeyXqMlCntsNjqMYgnZn4japb2RQ2ZsMgJcJ4OzZf3Z3nau8HINnk8n5F809S8qaBessKAioOHeTYn54Pry2bCO2v1MQnLs3zTTZ9GmEddEQViJd2KstXAiZpXlufFpWLVtdeSEbS8GZ4HpToqo3euGLOSL72ecpKDfzHs3sSsdYGjzJtgpJ58vfrJuPsZjt5x9C18BZFl1jnm5oYkgkDYbEKFhQhmdQgsEwnXSRFODxrMocqx8Pm1, libQt5Gui.so.5(Qt_5), libQt5Xml.so.5 >= set:mhpPvJqa2zeOgiwlyxZwGqlI43fPYw2k17z6h1x9ZsuI7WgwmeTCClK1OUnO20, libQt5Xml.so.5(Qt_5), libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.4), libfreetype.so.6 >= set:liJiX7Dn3WptFsXWHud7u, libpoppler.so.97 >= set:qhbpl3uZwdinpcrykOzdKkBufFPdLHPBayDQTnMWWZtbRiGLLFGw1smUk4gChlVfKeiifGGbNMEMz3glXHR3INCxPYDInSW27Zud25NLAeAUad290rZAFrUB8hIclvH91f52Bfu50LvUPxCcJSxYBtZo73YxR1GyIG5HkvVC2SJXGZKr7RVfo1nCh69iNC21Y3RQWT1n3ERoaBHvP8Y1ECef5ZItz7UzZ5heEZ0FZhsWMPCvZz07A80zKZrznVuLWgaF3xgJDRxc3pdQ4XJvy8aweFmoAn341shPsjCfCxR67h4PvT5sxyuh5U1XjKKVyWNIy6kppm28mLoR9ZsiZqAqPsAuDrMRSNF8MteQpAZ35D0pQMjC0ER5O3ipXkj6K2IHlEmPxm3uTFD57PAaqZo5QSqY0KjiE73Mh6h6yectDrd6LDmNkyAPZ6a1KlwJmR1BDkhTNYsBPxCh2SO7qRAZf543GBwZwRSzmVhcvkYYBg3c86hWFDJ7zQfkjwcJKT24q8ycXuyWPOUyCXb7furRLHMRZk7TMB8g4ukAEemNWetOolQhNX41tMnZ8BZvYxVh2kT1Z4kjjOt2Vrnpprm3wX5MaPzvvUAsi2o0ItEgA3oZcYX7tAKZ4WOof5UcOsWtcIuSAEIggF0eSZnlObOpLhJ8hTIV8m5ezWw0MOObRjSeQZrCm38cOsZJfP3XVIzCWQsQ4T5HA5zrIL2PAKgZq1IhxZAjMtgl3IjBkTKehauCdGWZkNVZuMtR6ddBLwHDqzLojvNHuHFCwDZdUqZfEiqISDPC2jQdciGye2UG9oSSTaK5bDpOiYtYO4ZpZyJ9rAkM4y13sxKFwmUAjqv8yYjSbC7fuuCf0h5kA8f7Ab79UATZz11jHKDwHFsSYlXtYwpoJ8veSGlxG1hL8gy3uq75jOQAcXLt2BclO4hFf1dZx5JGEv8ZFAFvF0WC0zeLC2WoMEn96VtSJKwPURml9QUB2Ec9XyQ7FboU2OtVTnbWKCfIEi4LQiJ9YEiWZ4zqRo5s97tcF5QA3j2Hgqy6Yj6p0, libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.21), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jRcBTV Creating libpoppler1-qt5-debuginfo package Processing files: libpoppler4-qt4-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2rliyZ find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) lib.prov: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-qt4.so.4: 1510 symbols, 21 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.soHYdZ find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: libpoppler08-qt4 = 0.86.1-alt1, libpoppler-qt4.so.4 = set:odqJB9c7aza6ZpXYDLZho7QZrAYrvqFBAZmO5VqAKmjjWmKw1M34qvEQIpdYXYfJ6Z3tpd08MJJD71EmNsIROAwazDS6W48xkejggxyVCbeQBCHDS1MawpGCFYlluWpe8XYgQZ2QQ7GfIqKtIjHVwcuocC0dkDxEYYZ4T2UuEhx0P6vWenS0wJDJSeCTuBBZg4eQdTvAJ3ElInyS44o7qnHrZajtPC4PNsFcZbqUFUefwZlBoGOBhjsLFsM1hRR2Ldll1B9hA1AIQdCbzlhiEBooLWr3thKVuWR8ItoKcJoIR6Onl6z5B7ZtaYes8Ou9jqayDt1DZhS9Lor0ZaZCVZLhI3geWOeeRRS5v1g7yZHE9lVYBoflc9f5TEZ479z7a4UK328XpanDbhicT1CghzWh0ZDin9fIxl0dSqgZakKdbIg3Ect8Wqx6sUJXFE4GEREYEwlZfXZoZmd221o6N7XZfBKRxFYpX1ds86MWSr2CeLXZFgoZ8K7dHWjtLN5MhIcC9ZvYDLSz3iWZffXuRUbtAygis5IWYt2A9b8luZhfd8d2OmQONOx9CIQIgu4V8rbzG18ZDT0yOd7ezUrBZDaxYckWZgwV16gNeP1CMCpvIZmcm5eNTa0pfdhic8R6ct1lZ8ZDZqyZDASd5IZqYMVzGWLcozxOLxLRlaPZ00YmZuW0zsRCF4sie9B4cpqH54dJHyHMuJ9iKcFhY8ugdU8eXGRJ5bsL0rr6KrWZEWHUWVpZsVytsWssDCvbPBZD5ujKwLj4Gy513Z5WJZd6Jq0xIowktWaFb9MjMHMDQah209JcFNiRgzNdREUMcvWKOGTX7ZvAH9WA3ud31EVpZiAeYnQtIgmf1cDbFRkOHe3CwsLWITjVOidioRcDhnSdOAdK8xd82rGx5K3pmB6CpWTf5W5Bmty2OkK9dxx63RAHmMBTcYZrTAJxkA9FK5TRZBnIJPiZz2h2IeKqGGqzuDPHmn6VKgrFjFDckFrG4PxTVR97Zx1s16rKjPmoWcsKn9x8niI5Ehf00dYxMENmIYAZs5pEOVx8BnHxip7OWZdTntOvcVXe1HPPLooKlpo9rqrtfU0FbDEiQPbgjOlohPhVZBbHb6i3ELGxZFjqZxNQphWksoD5bERlHJZqsBmOAqMn1ZC32vayiVvuqSmluxYw4ovSiLzHtEuKAfaAvOzyJRkzPBiNrRxeksNPe1ARLUEXZv93oae1utX4YDsNpn7ANOY5MBJ35x3f159tZcSE1gnxJPoniQ8hfnv0HAS44nnJ47quBDH5CozVyuq9JoZbLgpVtStQeTEv4eoZmUUkRhUZkwWSzV0AyNNFD9m8fDem1U5gqbYdE2dZFWaAwB4dds5LyfHpjCsIw0gK9K5pUZHQWHJoXsLToKq1XrrYdyc2F4Ye3Yd4P0Vo4oa1mI4Hpn0Mu1GiXKWEPEuOReBiLFUSi90dgmsq5utQZkdESBXG6lpXYPgWWZIxMVWvbYL0yPMHomcRqJce2TF544wb5JoDArC7x9i0lDFOZkAEV14Jv3u6aMupJXdITetHjoEHzZbiAw44aIZyVJEo1MjQv8swCGnBnRvZiOtiZ0SWIdIaiBDZIyxrmev1fGqggFjTAiCuyKSWDuypeZuEtZ1HrbF74TRjYoCkwjFCiBXd63S3xGZ7ethvxOZ57QWkCbGgE3rxtUND6vjBmmWlSPNMGFwY7Wv8g6nZmIHrHKqQjAG98FGvDhaoP3DZ0GU6iuaM0jcKwMHxAMVIJyEZhNFoRBLwO3FJdxqiy4jZ6AxBOPFhv2W1lqKOpy3SvbRus8S200ertFlTt24NOh8nUPMj4X3deYrGIBwWzu3S1IZjM3lsx1fWFNPrCj4IAq6xUjW2oLZFwsDrji0qrIojMjZ80az5sdixPJ9wrnYhoS4yJb7gVPsTZ2nyFMCTzAGLzeRIXtVaZHXzfftT7eRXMpAtyBpBAC5JbF7ohtbbbDwwD4Ah1tIu2gYplOX3AYAgZjHRqxIWL7H7yGhcxVIrt79k92VYyhtEmZ6meHXdZ4YejpU02n2DFPIch5mDoDRl9xuPKQD9LBk4FK7Diy2DZvE2MFEhEOwvYRABGa5j87EhCHMd8yxCDgPBUTY8zlBQKOemxwEI9zCxgh5F2Z0QvZk7U1JgMicv4gOeoMu8pCZlTd4qurH1msl3mqwerE3XcoMicZiBuWKtIpYyY1TNdkp72sxMeMq8d0rnCRpoCeZg7u1kateOgxC6RCiPhPDCZ27ZffYq4oflc0wrBCtXK78iKel0KklyRnJoEhgpI29HZhPlNfynJYMVdtTkwCFFNZ3Wh36P0C409G2HvKDZEnoadbHpxCvTC64zNCCT5F2rbW22Gu0HOBi71pqKpjxWffoOseXXxj3OGTEBNj37K4mu8OLjCHtKA920AuhB9gWyAMbn5S5QZdVqRyl3S2X7a3sbegeM4yDLkke4ZyinXzO41C0cNGWgY8DnLRkaeZBDndxBkC86yG5GY7h9ZudrIa0JxIA99thrj7jeAqeNeIAIQysG5ZryEUWtT3FHRQiq4gpTrExo3YHC6N9A8jexAX25sEZa8oi1pNdwQaJ6XeBp3TRUN3wtgiXmxcY3GBZ1E7pvxA0eBZIcYHaX9DLtVpA3XkgfwolL9utT84hfFPAwZo4M87QJZGT9zar69qGeG5ym3H5zdpJL35hvhZnwnFVnHhvN1ZaW2Y44445sCY5yiwaPrZIoP3V3C3DsqLRhA0J0UlwRgiP1bnZewBiOVYYi3wczoyliuQAIx0wG0e5m5O7Gj8Zwznv0EHEzBruu4Ke2nMFhGqriwltfZhkp4iewGZt7jXlVMcyhiIjppkitHZap5EAc2MJWWGZAyfoIGbychUNpMvsDQf4h6pZ0W5XZzFZKQlZBITEG2enbbFMquC132NgWKf3GZ8SDoOZr2g5QdRzExZBfOTCQXmyfTgycV8wp3lRd5xNsYVUgmkCSp43ADBocxR4dXTczPqVyTjnOoPm1X4iGYugkoLhCMkGcYM0Ocp2MkPl0 Requires: libpoppler97 = 0.86.1-alt1, libQtCore.so.4 >= set:phiBx69Zqfsb8oVYdP3zYPfvA29tgEBfZpzPj3BznUV2VQOjYEyjA5KNDyMp1HWxmw8hqQWlqdC2xtD2GU8UZJkS8A5C18HqHZ387r25lVqGmBbwozk8szemZojlDoiq02GFBJli5EgVgaZnK8KFYvVNHB0gDpcnnMOzmiO5awDj6ZsYgzTiIQkLS1Zv63We1crYtrDWbwgM3ZvaeB7nfjOqv6luYQE98IG9gskiQY2VLCvi97o00vGHkZuvnF5sGaT3E93VGgsURhR1jHbSbNEVtn0mVAnzZBwZvPNMTYmP9CxmbOhv0i7xn2jYMWZ7HPZem31H87O3cCWyaZcNjbemnU1Zlc3bZnC83E0oKTcIDq1NlsYkt7HkTEZDuA8Itz1CJI0w2, libQtGui.so.4 >= set:rkQy8iswwRXNxGtisREAnJUZkW6FR3V8aewyGOGVRpW6ssEZIxgM8MvjRcPgT7Zw4noyGxxs47NtdUaPHeIGwYpWHlJ0Q5cf33ROQGtthdkPZzQWSZKOQFMWKgKaih0iIhQkaR1uxByqlgcAZyfMq5xwy3qj36TmadbZoNgJd2KstXAigW3ZcXqsIhnIhkXFRIrcdI1CozXPELaFSwP2sSWdpJN9EjzJtgpJ58vfjTXqnh8y5zm5c19rWc2T3rJZ8bMvIRk0, libQtXml.so.4 >= set:mhpPvJqa2zeOgiwlyxZwGqlI43fPYw2k17z6h1x9ZsuI7WgwmeTCClK1OUnO20, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.4), libpoppler.so.97 >= set:qhs5JfQ8tB1TG4sWZ4WsPXW0f9MXril13UIMF8wczGyytTzGWicca0nS1SojgclkqvLNnJeA8BUlW6u9ysjwsDxO7L2wTfYVgjCCBeg8Kotw8VoiZ54LUlZJTeGPvM2sdm52MFhXwbazAsZbp4ZggdtuaZpX6fM7XH87QqacXQQRv7LOZel7i9t88Ofm3dNuPzhtidbjw0KgBpNcISU8Yv8oqpSzttP5Rzp5dEOOI4gcOaqmObmcoaoWc2xErQMjC0ER5O3ipXiAkHQVaMKm1lN1uTFD57PAaqZo5QSqY0egGlxfngj3pahOVuj9wm4ZkGEXouKOVgpKzMFmxogVSRgoH74z8Z4frf6FvEKIhEued4hCtfhZ9BN5dTneuY6u66U8O0jauDepIaWEUtyweU3N3YMYMgYCE6CPWJH0kyj0Q7atASwXvaMpAVQX0tZ3QfyzJZBBwGf1zAFMpk740YmAItEZ7dJ6goAhnmofDtQASmNwXMdSDrcVH1IhxZAjMtw7NwHEqzGKf5DXXMtR6ddBLwXzwrWbuRrd5dcgIyIiWhcVcU0Kq2A6QmIsC9bNTNbjUTMpQXjrXcxoM0nEragp5uHdFWLncCc0lghyYsgKsAwiEboqwB8XqqPMqhZgNtyxfZ4XEoiCCApZJexiCaZ0mgPvkQGyZh4F4Ghze6cWlyhK8ZgdezgznawOAIbi6xR2ONKOvoNMRkr2fGALYjZhi7j05DrwJ, libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.21), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Obsoletes: libpoppler08-qt4 < 0.86.1-alt1 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.C9L5FY Creating libpoppler4-qt4-debuginfo package Processing files: libpoppler8-glib-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kTa6jW find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) lib.prov: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-glib.so.8: 429 symbols, 19 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RguAKW find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: libpoppler-glib.so.8 = set:mdRChPRf6KMUe1ddoy49ORL1ijnzW76FS5WeIsjOp4Dyn7hS1X4ldV0kGqhkPfPGLd4b3Dm3mUovK03Yc6SkxeTp56nNNXFVbUdhGLzD6qybMlcXFJmKySgk98sxxdzXtiUJzLWLipIKQvNFqUZxht4zCWMY0VDzsTH984Z4lfW8g2GYZLPe8SQhNliKUXK3WBNfJCZlPTg5j9C6fLoNWoN4GnN4061MgXqkXWDZ3AIAZ1NHhSwiMWzZuXS7xUYObRksdc4EFk8CfaPmIR8luNyN1T88YJfuZixhnWv5JnodITAT86qH7Vk9xzZh5Gy6flFxolFkVLpMJJhjB5U1rItVnFyKGKHSgdEzdU84JRS4eP1jMDZuMCWfl4Zs6S8D4xWQcZCNAgpGs8Vm7Ay85C1jmBzR4FDGUva0l00uWjCvkUVpsK7Pa2bmIiDvSt7LdtMIhZKveAFiLa32bAtxn9hnM4GEwo4V851BxvBKPXSEkZH2qnmkUMq6pIoPsMG3NTATJ1NyqijiJE3YnqrvfBTigBI8YjZAtNHjklwfF8ZzOjILqZqDXLHZ4YEjEjD9Yzw2Z5b7SYRmumYg21ZLwIg9PjFgwby5gTx4V7aPGHa7SkGnZwlCY8iqe3b6ss0NLPX0qF8wXYV7AcH7ghgzW6jolV9Ee5olQuK6r13350R8TcH1NzZKOsjFODNWu0UQad84pFUoTTgihUZgxIplMHtVSjuzZqqh05ASHKPE5ZgpZIQGqLtYYZCNN9ejny0PmFMaZ1rQTO3U6mdua1BYvckSQeN7FArnGStjb7bAC9vKqI3zEWTUGZ4k8g581byasgKwU14JUZv1y30IAGuC6Pa Requires: libpoppler97 = 0.86.1-alt1, ld-linux.so.2 >= set:ihL26, ld-linux.so.2(GLIBC_2.3), libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libcairo.so.2 >= set:mepiqUz8L2C10jgwpgtZ0Q4M23nMZ8Wax5qhFzvAaXR5SFsgeCCMfl92mAbZKvfMPCYSUFYcM69nVxePT0gTzFZzQ81OWpD5LSWrKRZFfQHK0ZhplpZhva86yFJn8Ubem10CaQVUp7g1Q97xBuEOpTXeYooiiTUOhte3ZvO9Nfwe3EOAQu0ZnfpH0UYwQNw6J9ncoKv0dXEB5Exi8ZiXMZtCAszO3f00b3WcYTdLxbbcyI92xD5STGv4CO2a4ZaHCc1tT3qjPLxEvBvG8bv6MY6ppmYa4nKVf3cZb08, libfreetype.so.6 >= set:liJiXBEBEvRwumnO5roeY0, libgcc_s.so.1(GLIBC_2.0), libgio-2.0.so.0 >= set:okDU51V6rvsTddnegUYdGkbJIAR5qqKkaJmh70f1ZaAkizVcr, libglib-2.0.so.0 >= set:oi1i0ztxXpcvSDKZcoNYLYZ03Go4tIKwmVsi2Hvk9ncanqZjQImaqfSkiyJGb7kPc7UDHNwwRmz2kyA2Z4N8vaFvsxhVf2HLS3dig5sJbk4Mdlhxr5pchaLitoBWlxrzyPbkFlsXYifHTSxQVNNX0, libgobject-2.0.so.0 >= set:mh9f83vhrEKRJZqvuF78C4FpRSSd4Ym2HBRa5O3Zs9juOrR5OfDuFwXZtKHUZ86AqyHB9dN3EPWKiZaPY0, libm.so.6(GLIBC_2.0), libpoppler.so.97 >= set:qhaBZsZjOd5OX3U91ZK5IdT2Dyh7yW4pi5DP4Q2QqZ4u2hZxWkrdlIu3LIR5eYZ64ayv95JkLT4Xeqd9UFgU1OLvoP65oPAFzaKZbyTn7PE1ZgH34h9gB4gvZ4ZIco1K6H21MMJcwmzFkKZpwAoWYkYPzhlfiPaM3FZhs13JHCaYGUKBdtt8BQxk8uqUARgPX8Vuy12rrrAtTcesRaT53G0eYv8oatSDstPl8ZyPye7h5hbmsNnobvJt4Bh23LpO4EU8AuuxEGTgG93n1SRa0HSGIeG1Q3y5ZA6lq3T3ze0KJ1OgkE6iy6H7DF49DXdB0qhUjG484mV6g1ZwQZ3v21M5nFyJ0ZfdxoSNY6OGcOx7LJfQotg9hNZ4cO04s70BHaWEgJFmJ0ER8G7bZfV3PnTv1Hw7AVvZo3ybnzFOzryqkswBmzGeyf9nrpEDXU7N3VZjLZGACXx2pG4eg150s5ea36Y3jsvdHdbU0t45UeW2ZGoATq8PeSWxZ2ZhwbG2SEMfUKOcOhC911Gm6DXPEnv1nKZzuRrd5dcgIyscWO0cy90MPq4GRr5rZKosdeupVRa9xZyd01LqLDoZaV3hAvifFhhVymH4VVwsV8hVKEvw9FhLu0yZaN5s6mMhJHRCR1di0w7U88ismdwoIsXRyZhOv21XNm73bo4cBSba3kt11JkGk0B9xKFjEhvJEXq6dgRCEZwa6hLImYyQqE0WyQaiIWYhWdN1, libpthread.so.0(GLIBC_2.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bC5mqX Creating libpoppler8-glib-debuginfo package Processing files: libpoppler0-cpp-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.eV3VOZ find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) lib.prov: /usr/src/tmp/poppler97-buildroot/usr/lib/libpoppler-cpp.so.0: 322 symbols, 19 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9mlRpZ find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: libpoppler-cpp.so.0 = set:mdlkpnBzZIkDw8hqPyzpa3f7c5d4oP3JosQdPAGoqEbPnOANw9UPNX7LZvU6SOj33x1nX7UX0zzzfrww7rCb65EQ5Yk6R09JXrr4HWSQaagGwwZjz8cS00J2KrBE7ESBSMUNOwWESSsmmCqNxW4iVexDDzEpB2N5S2Tr4z6m8NI70caoDPMt4IpD3ppxZwJTk0Hnr95tf6CpOgZJFGe6Eco5Tztnsbq5OZvstDUDkhztFLdQjrkfNDWJ2BBC1BHV5BiqsBaJ2ACVJ5ZjYWTmkhhSz1eBa05J6ambk1nZ9YhsyRJdCLX8AF6VBwCDyBCZzRGpArwXN3BvBojY8fnZAS8K0840YMhrcgk888gN5fbvTMO99LEf5Htbzwa8aetOSP4QqSGwOPKF2v9MQIWtkZHVQG5fvcW3nKCAQkmmI8WOvxtNNVEdHBZmDpeVgP50e4xTDTv5uN6zU6OzqgElZq6oe0omRaRk0ZHH2M3IAg6NaZJpELtd6iRZwe1a6VxzSf8CegMSSChdJc1l3DaExmhgjwEAkq100UfusqPYocFFNoaEPsG62GE63ZsxejK5gHEDPuaasWIof1KlwtODUuZr648Oslg97fkSN03jocZAeC1XPpPJlbGuqcflEx2aTUVtsF5CzScqlHBijkri0 Requires: libpoppler97 = 0.86.1-alt1, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.4), libpoppler.so.97 >= set:qjRVkAv9bsaWZfQeshpcWXdZ5JyoMPBVL0rcpWmWwxUOR1GOdwYkkM2g77ynu5BtsulQRoRBGRl2da3pDdxxyBeb4JncDvLurU0lnVlt6bH3XxOdqx04cRisnl3d0lIR4S8RYI7Ldlk9AC9EVEivP1Q8n8JdugHg2Z3MeQYdETVUgZh3BPZtEqTDGPZ9CK9WJ4gjsYUB9dkowbQd5lm1uHdFWTDQQB0YL9A8Lc2t5iCBnCUxcdngwghBwywEb59qbfVc, libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.9), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QKO8rX Creating libpoppler0-cpp-debuginfo package Processing files: libpoppler-devel-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4YXAiW find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tv3HuZ find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) In file included from /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Gfx.h:38: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/poppler-config.h:142:10: fatal error: cstdio: No such file or directory 142 | #include // __MINGW_PRINTF_FORMAT is defined in the mingw stdio.h | ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/Gfx.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/JPEG2000Stream.h:20:10: fatal error: config.h: No such file or directory 20 | #include "config.h" | ^~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/JPEG2000Stream.h: cpp failed Provides: libpoppler97-devel = 0.86.1-alt1, pkgconfig(poppler) = 0.86.1, pkgconfig(poppler-splash) = 0.86.1 Requires: libpoppler97 = 0.86.1-alt1, /usr/lib/libpoppler.so.97, /usr/lib/pkgconfig, libcairo-devel, libcurl-devel, libfreetype-devel Obsoletes: libpoppler97-devel < 0.86.1-alt1 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kB0n6X Processing files: libpoppler-cpp-devel-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IsKniW find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LVfbEZ find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) In file included from /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-toc.h:22: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-global.h:39:10: fatal error: iosfwd: No such file or directory 39 | #include | ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/cpp/poppler-toc.h: cpp failed, trying c++ mode Provides: pkgconfig(poppler-cpp) = 0.86.1 Requires: libpoppler0-cpp = 0.86.1-alt1, libpoppler-devel = 0.86.1-alt1, /usr/lib/libpoppler-cpp.so.0, /usr/lib/pkgconfig Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FcQQfY Processing files: libpoppler-glib-devel-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3aoTxX find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Dv9eaW find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: pkgconfig(poppler-cairo) = 0.86.1, pkgconfig(poppler-glib) = 0.86.1 Requires: libpoppler8-glib = 0.86.1-alt1, libpoppler-devel = 0.86.1-alt1, /usr/lib/libpoppler-glib.so.8, /usr/lib/pkgconfig, glib2-devel, libcairo-devel, libgio-devel, pkgconfig(cairo) >= 1.10.0, pkgconfig(glib-2.0) >= 2.41, pkgconfig(gobject-2.0) >= 2.41, pkgconfig(poppler) = 0.86.1 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9HiPiY Processing files: libpoppler-qt5-devel-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.J9cC0Y find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fW8pbY find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) In file included from /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-qt5.h:43: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-annotation.h:32:10: fatal error: QtCore/QDateTime: No such file or directory 32 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-qt5.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-qt5.h:43: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-annotation.h:32:10: fatal error: QtCore/QDateTime: No such file or directory 32 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-qt5.h: cpp failed /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-form.h:31:10: fatal error: memory: No such file or directory 31 | #include | ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-form.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-form.h:33:10: fatal error: QtCore/QDateTime: No such file or directory 33 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-form.h: cpp failed /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-link.h:30:10: fatal error: QtCore/QString: No such file or directory 30 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-link.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-link.h:30:10: fatal error: QtCore/QString: No such file or directory 30 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-link.h: cpp failed /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-media.h:25:10: fatal error: QtCore/QSize: No such file or directory 25 | #include | ^~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-media.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-media.h:25:10: fatal error: QtCore/QSize: No such file or directory 25 | #include | ^~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-media.h: cpp failed /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-version.h:25:10: fatal error: QString: No such file or directory 25 | #include | ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-version.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-version.h:25:10: fatal error: QString: No such file or directory 25 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-version.h: cpp failed /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-annotation.h:32:10: fatal error: QtCore/QDateTime: No such file or directory 32 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-annotation.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-annotation.h:32:10: fatal error: QtCore/QDateTime: No such file or directory 32 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-annotation.h: cpp failed /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-optcontent.h:26:10: fatal error: QtCore/QAbstractListModel: No such file or directory 26 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-optcontent.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-optcontent.h:26:10: fatal error: QtCore/QAbstractListModel: No such file or directory 26 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-optcontent.h: cpp failed /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-page-transition.h:27:10: fatal error: QtCore/qglobal.h: No such file or directory 27 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-page-transition.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-page-transition.h:27:10: fatal error: QtCore/qglobal.h: No such file or directory 27 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt5/poppler-page-transition.h: cpp failed Provides: pkgconfig(poppler-qt5) = 0.86.1 Requires: libpoppler1-qt5 = 0.86.1-alt1, libpoppler-devel = 0.86.1-alt1, /usr/lib/libpoppler-qt5.so.1, /usr/lib/pkgconfig Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.80VkQX Processing files: libpoppler-qt4-devel-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cXpkhX find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0z5Y6V find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) In file included from /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-qt4.h:37: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-annotation.h:30:10: fatal error: QtCore/QDateTime: No such file or directory 30 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-qt4.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-qt4.h:37: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-annotation.h:30:10: fatal error: QtCore/QDateTime: No such file or directory 30 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-qt4.h: cpp failed /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-form.h:24:10: fatal error: QtCore/QRectF: No such file or directory 24 | #include | ^~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-form.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-form.h:24:10: fatal error: QtCore/QRectF: No such file or directory 24 | #include | ^~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-form.h: cpp failed /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-link.h:27:10: fatal error: QtCore/QString: No such file or directory 27 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-link.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-link.h:27:10: fatal error: QtCore/QString: No such file or directory 27 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-link.h: cpp failed /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-media.h:25:10: fatal error: QtCore/QSize: No such file or directory 25 | #include | ^~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-media.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-media.h:25:10: fatal error: QtCore/QSize: No such file or directory 25 | #include | ^~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-media.h: cpp failed /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-annotation.h:30:10: fatal error: QtCore/QDateTime: No such file or directory 30 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-annotation.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-annotation.h:30:10: fatal error: QtCore/QDateTime: No such file or directory 30 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-annotation.h: cpp failed /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-optcontent.h:25:10: fatal error: QtCore/QAbstractListModel: No such file or directory 25 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-optcontent.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-optcontent.h:25:10: fatal error: QtCore/QAbstractListModel: No such file or directory 25 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-optcontent.h: cpp failed /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-page-transition.h:26:10: fatal error: QtCore/qglobal.h: No such file or directory 26 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-page-transition.h: cpp failed, trying c++ mode /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-page-transition.h:26:10: fatal error: QtCore/qglobal.h: No such file or directory 26 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/poppler97-buildroot/usr/include/poppler/qt4/poppler-page-transition.h: cpp failed Provides: pkgconfig(poppler-qt4) = 0.86.1 Requires: libpoppler4-qt4 = 0.86.1-alt1, libpoppler-devel = 0.86.1-alt1, /usr/lib/libpoppler-qt4.so.4, /usr/lib/pkgconfig Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GJ2ZBZ Processing files: libpoppler-gir-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EYyK5V find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WzW1NX find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: typelib(Poppler) = 0.18 Requires: libpoppler8-glib = 0.86.1-alt1, typelib(GObject) = 2.0, typelib(Gio) = 2.0, typelib(cairo) = 1.0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.92pRYY Processing files: libpoppler-gir-devel-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VUZq9W find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uWMCsW find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: gir(Poppler) = 0.18 Requires: libpoppler-gir = 0.86.1-alt1, libpoppler-glib-devel = 0.86.1-alt1, gir(GObject) = 2.0, gir(Gio) = 2.0, gir(cairo) = 1.0 Processing files: libpoppler97-debuginfo-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.68lgzY find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3yEZKV find-requires: running scripts (debuginfo) Provides: debug(libpoppler.so.97) Requires: libpoppler97 = 0.86.1-alt1, debug(ld-linux.so.2), debug(libc.so.6), debug(libcurl.so.4), debug(libfontconfig.so.1), debug(libfreetype.so.6), debug(libgcc_s.so.1), debug(libjpeg.so.62), debug(liblcms2.so.2), debug(libm.so.6), debug(libnspr4.so), debug(libnss3.so), debug(libopenjp2.so.7), debug(libpng16.so.16), debug(libpthread.so.0), debug(libsmime3.so), debug(libstdc++.so.6), debug(libtiff.so.5) Processing files: poppler-debuginfo-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.SSKeFW find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qsrqtX find-requires: running scripts (debuginfo) Requires: poppler = 0.86.1-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libcairo.so.2), debug(libfreetype.so.6), debug(libgcc_s.so.1), debug(liblcms2.so.2), debug(libm.so.6), debug(libpoppler.so.97), debug(libpthread.so.0), debug(libstdc++.so.6) Processing files: libpoppler1-qt5-debuginfo-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8TM1rY find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3hHTXX find-requires: running scripts (debuginfo) Provides: debug(libpoppler-qt5.so.1) Requires: libpoppler1-qt5 = 0.86.1-alt1, debug(libQt5Core.so.5), debug(libQt5Gui.so.5), debug(libQt5Xml.so.5), debug(libc.so.6), debug(libfreetype.so.6), debug(libpoppler.so.97), debug(libstdc++.so.6) Processing files: libpoppler4-qt4-debuginfo-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.swXsCY find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GLjquZ find-requires: running scripts (debuginfo) Provides: debug(libpoppler-qt4.so.4) Requires: libpoppler4-qt4 = 0.86.1-alt1, debug(libQtCore.so.4), debug(libQtGui.so.4), debug(libQtXml.so.4), debug(libc.so.6), debug(libpoppler.so.97), debug(libstdc++.so.6) Processing files: libpoppler8-glib-debuginfo-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Qn7RPW find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.O2OGUZ find-requires: running scripts (debuginfo) Provides: debug(libpoppler-glib.so.8) Requires: libpoppler8-glib = 0.86.1-alt1, debug(ld-linux.so.2), debug(libc.so.6), debug(libcairo.so.2), debug(libfreetype.so.6), debug(libgcc_s.so.1), debug(libgio-2.0.so.0), debug(libglib-2.0.so.0), debug(libgobject-2.0.so.0), debug(libm.so.6), debug(libpoppler.so.97), debug(libpthread.so.0), debug(libstdc++.so.6) Processing files: libpoppler0-cpp-debuginfo-0.86.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.003jcW find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dYh1JV find-requires: running scripts (debuginfo) Provides: debug(libpoppler-cpp.so.0) Requires: libpoppler0-cpp = 0.86.1-alt1, debug(libc.so.6), debug(libpoppler.so.97), debug(libstdc++.so.6) Adding to poppler a strict dependency on libpoppler97 Adding to libpoppler1-qt5 a strict dependency on libpoppler97 Adding to libpoppler4-qt4 a strict dependency on libpoppler97 Adding to libpoppler8-glib a strict dependency on libpoppler97 Adding to libpoppler0-cpp a strict dependency on libpoppler97 Adding to libpoppler-devel a strict dependency on libpoppler97 Adding to libpoppler97-debuginfo a strict dependency on libpoppler97 Adding to poppler-debuginfo a strict dependency on poppler Adding to libpoppler-qt5-devel a strict dependency on libpoppler1-qt5 Adding to libpoppler1-qt5-debuginfo a strict dependency on libpoppler1-qt5 Adding to libpoppler-qt4-devel a strict dependency on libpoppler4-qt4 Adding to libpoppler4-qt4-debuginfo a strict dependency on libpoppler4-qt4 Adding to libpoppler-glib-devel a strict dependency on libpoppler8-glib Adding to libpoppler-gir a strict dependency on libpoppler8-glib Adding to libpoppler8-glib-debuginfo a strict dependency on libpoppler8-glib Adding to libpoppler-cpp-devel a strict dependency on libpoppler0-cpp Adding to libpoppler0-cpp-debuginfo a strict dependency on libpoppler0-cpp Adding to libpoppler-cpp-devel a strict dependency on libpoppler-devel Adding to libpoppler-glib-devel a strict dependency on libpoppler-devel Adding to libpoppler-qt5-devel a strict dependency on libpoppler-devel Adding to libpoppler-qt4-devel a strict dependency on libpoppler-devel Adding to libpoppler-gir-devel a strict dependency on libpoppler-glib-devel Adding to libpoppler-gir-devel a strict dependency on libpoppler-gir Adding to poppler-debuginfo a strict dependency on libpoppler97-debuginfo Adding to libpoppler1-qt5-debuginfo a strict dependency on libpoppler97-debuginfo Adding to libpoppler4-qt4-debuginfo a strict dependency on libpoppler97-debuginfo Adding to libpoppler8-glib-debuginfo a strict dependency on libpoppler97-debuginfo Adding to libpoppler0-cpp-debuginfo a strict dependency on libpoppler97-debuginfo Removing from poppler-debuginfo 53 sources provided by libpoppler97-debuginfo also prunning dir /usr/src/debug/poppler-0.86.1/fofi also prunning dir /usr/src/debug/poppler-0.86.1/splash Removing from libpoppler1-qt5-debuginfo 45 sources provided by libpoppler97-debuginfo also prunning dir /usr/src/debug/poppler-0.86.1/fofi also prunning dir /usr/src/debug/poppler-0.86.1/goo also prunning dir /usr/src/debug/poppler-0.86.1/poppler also prunning dir /usr/src/debug/poppler-0.86.1/splash Removing from libpoppler4-qt4-debuginfo 40 sources provided by libpoppler97-debuginfo also prunning dir /usr/src/debug/poppler-0.86.1/goo also prunning dir /usr/src/debug/poppler-0.86.1/poppler also prunning dir /usr/src/debug/poppler-0.86.1/splash Removing from libpoppler8-glib-debuginfo 45 sources provided by libpoppler97-debuginfo also prunning dir /usr/src/debug/poppler-0.86.1/fofi also prunning dir /usr/src/debug/poppler-0.86.1/goo also prunning dir /usr/src/debug/poppler-0.86.1/splash Removing from libpoppler0-cpp-debuginfo 34 sources provided by libpoppler97-debuginfo also prunning dir /usr/src/debug/poppler-0.86.1/goo also prunning dir /usr/src/debug/poppler-0.86.1/poppler also prunning dir /usr/src/debug/poppler-0.86.1/splash Removing 1 extra deps from poppler due to dependency on libpoppler97 Removing 1 extra deps from libpoppler1-qt5 due to dependency on libpoppler97 Removing 1 extra deps from libpoppler4-qt4 due to dependency on libpoppler97 Removing 1 extra deps from libpoppler8-glib due to dependency on libpoppler97 Removing 2 extra deps from libpoppler0-cpp due to dependency on libpoppler97 Removing 1 extra deps from libpoppler-devel due to dependency on libpoppler97 Removing 1 extra deps from libpoppler-qt5-devel due to dependency on libpoppler1-qt5 Removing 1 extra deps from libpoppler-qt4-devel due to dependency on libpoppler4-qt4 Removing 1 extra deps from libpoppler-glib-devel due to dependency on libpoppler8-glib Removing 1 extra deps from libpoppler-cpp-devel due to dependency on libpoppler0-cpp Removing 1 extra deps from libpoppler-glib-devel due to dependency on libpoppler-devel Removing 1 extra deps from poppler-debuginfo due to dependency on libpoppler97-debuginfo Removing 1 extra deps from libpoppler1-qt5-debuginfo due to dependency on libpoppler97-debuginfo Removing 1 extra deps from libpoppler4-qt4-debuginfo due to dependency on libpoppler97-debuginfo Removing 1 extra deps from libpoppler8-glib-debuginfo due to dependency on libpoppler97-debuginfo Removing 1 extra deps from libpoppler0-cpp-debuginfo due to dependency on libpoppler97-debuginfo Removing 18 extra deps from poppler due to repentancy on libpoppler97 Removing 10 extra deps from libpoppler1-qt5 due to repentancy on libpoppler97 Removing 9 extra deps from libpoppler4-qt4 due to repentancy on libpoppler97 Removing 19 extra deps from libpoppler8-glib due to repentancy on libpoppler97 Removing 11 extra deps from libpoppler0-cpp due to repentancy on libpoppler97 Removing 1 extra deps from libpoppler-cpp-devel due to repentancy on libpoppler-devel Removing 2 extra deps from libpoppler-glib-devel due to repentancy on libpoppler-devel Removing 1 extra deps from libpoppler-qt5-devel due to repentancy on libpoppler-devel Removing 1 extra deps from libpoppler-qt4-devel due to repentancy on libpoppler-devel Removing 7 extra deps from poppler-debuginfo due to repentancy on libpoppler97-debuginfo Removing 3 extra deps from libpoppler1-qt5-debuginfo due to repentancy on libpoppler97-debuginfo Removing 2 extra deps from libpoppler4-qt4-debuginfo due to repentancy on libpoppler97-debuginfo Removing 7 extra deps from libpoppler8-glib-debuginfo due to repentancy on libpoppler97-debuginfo Removing 2 extra deps from libpoppler0-cpp-debuginfo due to repentancy on libpoppler97-debuginfo Wrote: /usr/src/RPM/RPMS/i586/libpoppler97-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/poppler-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler1-qt5-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler4-qt4-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler8-glib-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler0-cpp-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler-devel-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler-cpp-devel-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler-glib-devel-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler-qt5-devel-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler-qt4-devel-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler-gir-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/noarch/libpoppler-gir-devel-0.86.1-alt1.noarch.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler97-debuginfo-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/poppler-debuginfo-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler1-qt5-debuginfo-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler4-qt4-debuginfo-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler8-glib-debuginfo-0.86.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpoppler0-cpp-debuginfo-0.86.1-alt1.i586.rpm 533.58user 57.05system 8:24.69elapsed 117%CPU (0avgtext+0avgdata 293552maxresident)k 0inputs+0outputs (0major+18168901minor)pagefaults 0swaps /.out/libpoppler-gir-devel-0.86.1-alt1.noarch.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler97-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/poppler-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler1-qt5-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler4-qt4-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler8-glib-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler0-cpp-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler-devel-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler-cpp-devel-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler-glib-devel-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler-qt5-devel-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler-qt4-devel-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler-gir-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler97-debuginfo-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/poppler-debuginfo-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler1-qt5-debuginfo-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler4-qt4-debuginfo-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler8-glib-debuginfo-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libpoppler0-cpp-debuginfo-0.86.1-alt1.i586.rpm: The use of such a license name is ambiguous: GPL 560.95user 67.31system 9:52.49elapsed 106%CPU (0avgtext+0avgdata 293552maxresident)k 2352inputs+0outputs (0major+19206489minor)pagefaults 0swaps